Divergences in comparison with #9620. Part 1: easy/obvious (#9888)

* Obvious changes (including bugs)

* Update privval/file.go

Co-authored-by: Thane Thomson <connect@thanethomson.com>

Co-authored-by: Thane Thomson <connect@thanethomson.com>
This commit is contained in:
Sergio Mena
2022-12-16 12:16:53 +01:00
committed by GitHub
co-authored by Thane Thomson
parent 9eb3fb050b
commit a749afe8fb
12 changed files with 36 additions and 41 deletions
+1 -1
View File
@@ -549,7 +549,7 @@ func updateState(
nextParams = state.ConsensusParams.Update(abciResponse.ConsensusParamUpdates)
err := nextParams.ValidateBasic()
if err != nil {
return state, fmt.Errorf("updating consensus params: %w", err)
return state, fmt.Errorf("validating new consensus params: %w", err)
}
err = state.ConsensusParams.ValidateUpdate(abciResponse.ConsensusParamUpdates, header.Height)