We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8ededc commit 13d51f0Copy full SHA for 13d51f0
x/gov/types/v1/params.go
@@ -174,7 +174,7 @@ func (p Params) ValidateBasic() error {
174
}
175
176
if p.VotingPeriod == nil {
177
- return fmt.Errorf("voting period must not be nil: %d", p.VotingPeriod)
+ return fmt.Errorf("voting period must not be nil")
178
179
if p.VotingPeriod.Seconds() <= 0 {
180
return fmt.Errorf("voting period must be positive: %s", p.VotingPeriod)
0 commit comments