mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-06 08:07:11 +00:00
state save/load test.
This commit is contained in:
+1
-1
@@ -418,7 +418,7 @@ func (cs *ConsensusState) stageBlock(block *Block) error {
|
||||
stateCopy := cs.state.Copy() // Deep copy the state before staging.
|
||||
|
||||
// Commit block onto the copied state.
|
||||
err := stateCopy.CommitBlock(block)
|
||||
err := stateCopy.AppendBlock(block)
|
||||
if err != nil {
|
||||
return err
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user