mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 14:52:17 +00:00
Fix state/execution ExecBlock() not rolling back
This commit is contained in:
parent
d3d7ff4818
commit
f534410e57
@ -31,10 +31,7 @@ func (s *State) ExecBlock(proxyAppCtx proxy.AppContext, block *types.Block, bloc
|
||||
nextValSet := valSet.Copy()
|
||||
|
||||
// First, rollback.
|
||||
if err != nil {
|
||||
proxyAppCtx.RollbackSync()
|
||||
return err
|
||||
}
|
||||
|
||||
// Execute, or rollback. (Does not commit)
|
||||
err = s.execBlockOnProxyApp(proxyAppCtx, block)
|
||||
|
Loading…
x
Reference in New Issue
Block a user