Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into chore/testing-v1.0.3
  • Loading branch information
MikkySnow committed Jul 11, 2024
2 parents 45b5511 + 0015c9c commit 7bc61a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/vesting/types/msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ func (msg *MsgCreateMonthlyVestingAccount) ValidateBasic() error {
return errorsmod.Wrapf(errortypes.ErrInvalidAddress, "to address cannot be the zero address")
}

if msg.CliffDays <= 0 {
return errorsmod.Wrapf(ErrInvalidParam, "cliff days cannot be zero or negative")
if msg.CliffDays < 0 {
return errorsmod.Wrapf(ErrInvalidParam, "cliff days cannot be negative")
}

if msg.Months < 1 {
Expand Down

0 comments on commit 7bc61a9

Please sign in to comment.