diff --git a/types/params.go b/types/params.go index 6caffc917..ef14db605 100644 --- a/types/params.go +++ b/types/params.go @@ -108,7 +108,7 @@ func (v VoteParams) RequireExtensions(h int64) bool { if v.ExtensionRequireHeight == 0 { return false } - return h <= v.ExtensionRequireHeight + return v.ExtensionRequireHeight <= h } // DefaultConsensusParams returns a default ConsensusParams.