Fix Gas Flag Usage + CLI Flag APIs (#6685)
* Use new APIs * fix usage * fix usage of gas flag * tests: TestParseGasSetting
This commit is contained in:
@@ -161,6 +161,7 @@ contain valid denominations. Accounts may optionally be supplied with vesting pa
|
||||
cmd.Flags().String(flagVestingAmt, "", "amount of coins for vesting accounts")
|
||||
cmd.Flags().Int64(flagVestingStart, 0, "schedule start time (unix epoch) for vesting accounts")
|
||||
cmd.Flags().Int64(flagVestingEnd, 0, "schedule end time (unix epoch) for vesting accounts")
|
||||
flags.AddQueryFlagsToCmd(cmd)
|
||||
|
||||
return flags.GetCommands(cmd)[0]
|
||||
return cmd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user