Skip to content

Commit

Permalink
Fix Gas Flag Usage + CLI Flag APIs (cosmos#6685)
Browse files Browse the repository at this point in the history
* Use new APIs

* fix usage

* fix usage of gas flag

* tests: TestParseGasSetting
  • Loading branch information
alexanderbez authored Jul 11, 2020
1 parent 63a831a commit 51739ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion simd/cmd/genaccounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 51739ee

Please sign in to comment.