mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-19 13:46:17 +00:00
fix require check
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user