Merge pull request #2161 from waynewyang/mining

fix: mining logic
This commit is contained in:
Łukasz Magiera 2020-06-29 15:24:45 +02:00 committed by GitHub
commit f812cac142
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)