state: remove StateIntermediate

This commit is contained in:
Ethan Buchman
2017-02-17 19:13:35 -05:00
parent 0bec99fbd4
commit 7228b11e3f
2 changed files with 1 additions and 35 deletions

View File

@@ -54,10 +54,6 @@ func (s *State) ExecBlock(eventCache types.Fireable, proxyAppConn proxy.AppConnC
nextValSet.IncrementAccum(1)
s.SetBlockAndValidators(block.Header, blockPartsHeader, valSet, nextValSet)
// save state with updated height/blockhash/validators
// but stale apphash, in case we fail between Commit and Save
s.SaveIntermediate()
fail.Fail() // XXX
return nil