fix: itests: Don't call t.Error in MineBlocks goroutine
This commit is contained in:
parent
2120fae2b6
commit
aebe3d4cf7
@ -291,7 +291,8 @@ func (bm *BlockMiner) MineBlocks(ctx context.Context, blocktime time.Duration) {
|
||||
case ctx.Err() != nil: // context fired.
|
||||
return
|
||||
default: // log error
|
||||
bm.t.Error(err)
|
||||
bm.t.Logf("MINEBLOCKS loop error: %+v", err)
|
||||
return
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
Loading…
Reference in New Issue
Block a user