From 33e022c0c73c6375b81ee2b18185f8857d1d8c68 Mon Sep 17 00:00:00 2001 From: Sergio Mena Date: Mon, 28 Nov 2022 09:06:25 +0100 Subject: [PATCH] fixes --- state/execution.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state/execution.go b/state/execution.go index a942e9214..d9f68615d 100644 --- a/state/execution.go +++ b/state/execution.go @@ -552,7 +552,7 @@ func updateState( return state, fmt.Errorf("updating consensus params: %w", err) } - err = state.ConsensusParams.ValidateUpdate(abciResponses.EndBlock.ConsensusParamUpdates, header.Height) + err = state.ConsensusParams.ValidateUpdate(abciResponse.ConsensusParamUpdates, header.Height) if err != nil { return state, fmt.Errorf("updating consensus params: %w", err) }