log stack trace on consensus failure

This commit is contained in:
Ethan Buchman
2017-10-02 23:34:06 -04:00
parent ed5511dc08
commit 8c6bd44929
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -235,7 +235,7 @@ FOR_LOOP:
err := bcR.state.Validators.VerifyCommit(
bcR.state.ChainID, types.BlockID{first.Hash(), firstPartsHeader}, first.Height, second.LastCommit)
if err != nil {
bcR.Logger.Info("error in validation", "err", err)
bcR.Logger.Error("Error in validation", "err", err)
bcR.pool.RedoRequest(first.Height)
break SYNC_LOOP
} else {