Fix all unit tests

This commit is contained in:
Sergio Mena
2022-11-30 21:19:18 +01:00
parent 33e022c0c7
commit 3a2a02f299
2 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -545,7 +545,7 @@ func updateState(
nextParams := state.ConsensusParams
lastHeightParamsChanged := state.LastHeightConsensusParamsChanged
if abciResponse.ConsensusParamUpdates != nil {
// NOTE: must not mutate s.ConsensusParams
// NOTE: must not mutate state.ConsensusParams
nextParams = state.ConsensusParams.Update(abciResponse.ConsensusParamUpdates)
err := nextParams.ValidateBasic()
if err != nil {