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

@ -311,7 +311,10 @@ func (pool *BlockPool) makeNextRequester() {
pool.requesters[nextHeight] = request
pool.numPending++
request.Start()
_, err := request.Start()
if err != nil {
panic(err)
}
}
func (pool *BlockPool) sendRequest(height int, peerID string) {