error is nil at end, so return batch, nil

This commit is contained in:
vyzo 2020-09-17 18:23:50 +03:00
parent 2946561dec
commit 6dfc40abc1

View File

@ -1599,7 +1599,7 @@ func (syncer *Syncer) fetchMessages(ctx context.Context, headers []*types.TipSet
log.Infof("fetching messages for %d tipsets at %d done; took %s", batchSize, startOffset, build.Clock.Since(start))
return batch, batchErr
return batch, nil
}
func persistMessages(bs bstore.Blockstore, bst *exchange.CompactedMessages) error {