From f941b33c30c5bb83585208d5c09760f50dabdeb1 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Fri, 13 May 2022 17:18:37 -0400 Subject: [PATCH] fix require check --- types/params.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.