diff --git a/miner/miner.go b/miner/miner.go index d1dee1ec9..54f4263ef 100644 --- a/miner/miner.go +++ b/miner/miner.go @@ -594,7 +594,7 @@ func (m *Miner) mineOne(ctx context.Context, base *MiningBase) (minedBlock *type } } - if len(refreshedBaseBlocks) != len(base.TipSet.Blocks()) { + if len(refreshedBaseBlocks) != 0 && len(refreshedBaseBlocks) != len(base.TipSet.Blocks()) { refreshedBase, err := types.NewTipSet(refreshedBaseBlocks) if err != nil { err = xerrors.Errorf("failed to create new tipset when refreshing: %w", err)