errcheck: PR comment fixes

This commit is contained in:
Zach Ramsay
2017-11-27 22:39:11 +00:00
committed by Ethan Buchman
parent b3c5933a23
commit b75d4f73e7
12 changed files with 34 additions and 58 deletions
+2 -1
View File
@@ -288,10 +288,11 @@ func (s *State) indexTxs(abciResponses *ABCIResponses) {
Tx: tx,
Result: *d,
}); err != nil {
panic(err)
s.logger.Error("Error with batch.Add", "err", err)
}
}
if err := s.TxIndexer.AddBatch(batch); err != nil {
s.logger.Error("Error adding batch", "err", err)
panic(err)
}
}