fix: mining logic

This commit is contained in:
waynewyang 2020-06-28 18:20:56 +08:00
parent fbfe57cd63
commit 8d51a20143

View File

@ -140,7 +140,7 @@ func (m *Miner) mine(ctx context.Context) {
onDone, err := m.waitFunc(ctx, prebase.TipSet.MinTimestamp())
if err != nil {
log.Error(err)
return
continue
}
base, err := m.GetBestMiningCandidate(ctx)