diff --git a/pkg/core/blockchain.go b/pkg/core/blockchain.go index 0546f1eb8..88d4d7c3a 100644 --- a/pkg/core/blockchain.go +++ b/pkg/core/blockchain.go @@ -336,7 +336,7 @@ func (bc *Blockchain) init() error { } if ver.StateRootInHeader != bc.config.StateRootInHeader { return fmt.Errorf("StateRootInHeader setting mismatch (config=%t, db=%t)", - ver.StateRootInHeader, bc.config.StateRootInHeader) + bc.config.StateRootInHeader, ver.StateRootInHeader) } if ver.P2PSigExtensions != bc.config.P2PSigExtensions { return fmt.Errorf("P2PSigExtensions setting mismatch (old=%t, new=%t)",