test: app persistence

This commit is contained in:
Ethan Buchman
2016-08-25 01:39:03 -04:00
parent d3ae920bd0
commit 138de19e1e
5 changed files with 77 additions and 2 deletions

View File

@@ -1251,7 +1251,8 @@ func (cs *ConsensusState) finalizeCommit(height int) {
PanicConsensus(Fmt("+2/3 committed an invalid block: %v", err))
}
log.Notice(Fmt("Finalizing commit of block with %d txs", block.NumTxs), "height", block.Height, "hash", block.Hash())
log.Notice(Fmt("Finalizing commit of block with %d txs", block.NumTxs),
"height", block.Height, "hash", block.Hash(), "root", block.AppHash)
log.Info(Fmt("%v", block))
// Fire off event for new block.