forked from TrueCloudLab/neoneo-go
core: fix StateRootInHeader error message for (*Blockchain).init()
This commit is contained in:
parent
ad0c53c067
commit
8d6aa1782d
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ func (bc *Blockchain) init() error {
|
||||||
}
|
}
|
||||||
if ver.StateRootInHeader != bc.config.StateRootInHeader {
|
if ver.StateRootInHeader != bc.config.StateRootInHeader {
|
||||||
return fmt.Errorf("StateRootInHeader setting mismatch (config=%t, db=%t)",
|
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 {
|
if ver.P2PSigExtensions != bc.config.P2PSigExtensions {
|
||||||
return fmt.Errorf("P2PSigExtensions setting mismatch (old=%t, new=%t)",
|
return fmt.Errorf("P2PSigExtensions setting mismatch (old=%t, new=%t)",
|
||||||
|
|
Loading…
Reference in a new issue