Skip to content

Commit

Permalink
Create vesting account with 1 month vesting (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
deep-quality-dev authored Jul 8, 2024
1 parent 02e78b8 commit e2a919e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/vesting/types/msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (msg *MsgCreateMonthlyVestingAccount) ValidateBasic() error {
return errorsmod.Wrapf(ErrInvalidParam, "cliff days cannot be zero or negative")
}

if msg.Months <= 1 {
if msg.Months < 1 {
return errorsmod.Wrapf(ErrInvalidParam, "months should be at least one")
}

Expand Down

0 comments on commit e2a919e

Please sign in to comment.