fix: mining logic
This commit is contained in:
parent
fbfe57cd63
commit
8d51a20143
@ -140,7 +140,7 @@ func (m *Miner) mine(ctx context.Context) {
|
|||||||
onDone, err := m.waitFunc(ctx, prebase.TipSet.MinTimestamp())
|
onDone, err := m.waitFunc(ctx, prebase.TipSet.MinTimestamp())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error(err)
|
log.Error(err)
|
||||||
return
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
base, err := m.GetBestMiningCandidate(ctx)
|
base, err := m.GetBestMiningCandidate(ctx)
|
||||||
|
Loading…
Reference in New Issue
Block a user