diff --git a/x/gov/types/v1/params.go b/x/gov/types/v1/params.go index 6e3298ae7d..340a4b21e4 100644 --- a/x/gov/types/v1/params.go +++ b/x/gov/types/v1/params.go @@ -174,7 +174,7 @@ func (p Params) ValidateBasic() error { } if p.VotingPeriod == nil { - return fmt.Errorf("voting period must not be nil: %d", p.VotingPeriod) + return fmt.Errorf("voting period must not be nil") } if p.VotingPeriod.Seconds() <= 0 { return fmt.Errorf("voting period must be positive: %s", p.VotingPeriod)