mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 04:41:22 +00:00
fixes from review
This commit is contained in:
@ -231,9 +231,6 @@ func (s *State) ApplyBlock(eventCache types.Fireable, proxyAppConn proxy.AppConn
|
||||
// now update the block and validators
|
||||
s.SetBlockAndValidators(block.Header, partsHeader, abciResponses)
|
||||
|
||||
// save the validators for the next block now that we know them
|
||||
s.SaveValidators()
|
||||
|
||||
// lock mempool, commit state, update mempoool
|
||||
err = s.CommitStateUpdateMempool(proxyAppConn, block, mempool)
|
||||
if err != nil {
|
||||
@ -242,7 +239,7 @@ func (s *State) ApplyBlock(eventCache types.Fireable, proxyAppConn proxy.AppConn
|
||||
|
||||
fail.Fail() // XXX
|
||||
|
||||
// save the state
|
||||
// save the state and the validators
|
||||
s.Save()
|
||||
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user