Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

min duration from days to hours, changed weekly to day #859

Merged
merged 2 commits into from
Feb 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion x/epochs/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func GetCmdCurrentEpoch() *cobra.Command {
fmt.Sprintf(`Query current epoch by specified identifier.
Example:
$ %s query epochs current-epoch weekly
$ %s query epochs current-epoch day
`,
version.AppName,
),
Expand Down
4 changes: 2 additions & 2 deletions x/lockup/client/cli/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ const (
func FlagSetLockTokens() *flag.FlagSet {
fs := flag.NewFlagSet("", flag.ContinueOnError)

fs.String(FlagDuration, "86400s", "The duration token to be locked. e.g. 1h, 1m, 1s, 0.1s")
fs.String(FlagDuration, "24h", "The duration token to be locked. e.g. 24h, 168h, 336h")
return fs
}

func FlagSetMinDuration() *flag.FlagSet {
fs := flag.NewFlagSet("", flag.ContinueOnError)

fs.String(FlagMinDuration, "1d", "The minimum duration of token bonded. e.g. 1d, 7d, 14d")
fs.String(FlagMinDuration, "336h", "The minimum duration of token bonded. e.g. 24h, 168h, 336h")
return fs
}