multi: fix newly detected linter issues

This commit is contained in:
Oliver Gugger committed 2022-02-10 11:02:02 +01:00
1 parent 369627901f
commit ffee7d1bcf
30 files changed
+106 -118

No files matched your search

+1 -1
View File
@@ -419,7 +419,7 @@ func testBlockEpochNotification(miner *rpctest.Harness,
// hash.
blockEpoch := <-epochClient.Epochs
if blockEpoch.BlockHeader == nil {
fmt.Println(i)
t.Logf("%d", i)
clientErrors <- fmt.Errorf("block " +
"header is nil")
return