linting: apply errcheck part2

This commit is contained in:
Zach Ramsay
2017-09-06 13:11:47 -04:00
committed by Ethan Buchman
parent 57ea4987f7
commit 331857c9e6
14 changed files with 147 additions and 49 deletions

View File

@ -112,7 +112,9 @@ func TestReactorProposalHeartbeats(t *testing.T) {
}, css)
// send a tx
css[3].mempool.CheckTx([]byte{1, 2, 3}, nil)
if err := css[3].mempool.CheckTx([]byte{1, 2, 3}, nil); err != nil {
t.Fatal(err)
}
// wait till everyone makes the first new block
timeoutWaitGroup(t, N, func(wg *sync.WaitGroup, j int) {