From eca41af266987e515c2ba6661c70c1a77e0b98c4 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Fri, 25 Feb 2022 18:48:28 -0500 Subject: [PATCH] update comment --- internal/state/execution.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/state/execution.go b/internal/state/execution.go index 78eddcdba..f109f43fe 100644 --- a/internal/state/execution.go +++ b/internal/state/execution.go @@ -507,7 +507,7 @@ func updateState( nextParams := state.ConsensusParams lastHeightParamsChanged := state.LastHeightConsensusParamsChanged if abciResponses.FinalizeBlock.ConsensusParamUpdates != nil { - // NOTE: must not mutate s.ConsensusParams + // NOTE: must not mutate state.ConsensusParams nextParams = state.ConsensusParams.UpdateConsensusParams(abciResponses.FinalizeBlock.ConsensusParamUpdates) err := nextParams.ValidateConsensusParams() if err != nil {