Commit d817fba0 authored by linj's avatar linj Committed by vipwzw

fix unfreeze command

parent 82fc7bb4
......@@ -166,7 +166,7 @@ func left(cmd *cobra.Command, args []string) {
tenThousandth, _ := cmd.Flags().GetInt64("ten_thousandth")
period, _ := cmd.Flags().GetInt64("period")
create.Means = pty.FixAmountX
create.Means = pty.LeftProportionX
create.MeansOpt = &pty.UnfreezeCreate_LeftProportion{
LeftProportion: &pty.LeftProportion{Period: period, TenThousandth: tenThousandth}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment