Skip to content

Commit e7c0b43

Browse files
committed
curio migrate: More legacy deal funtimes
1 parent e105b83 commit e7c0b43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/migrate-curio/migrate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ func migrateLegacyDeals(ctx context.Context, full v1api.FullNode, activeSectors
461461
ON CONFLICT (signed_proposal_cid) DO NOTHING`,
462462
deal.ProposalCid, mid, deal.Client.String(), sigByte, propJson, prop.PieceCID.String(),
463463
prop.PieceSize, prop.VerifiedDeal, prop.StartEpoch, prop.EndEpoch, deal.PublishCid.String(),
464-
deal.DealID, deal.FastRetrieval, deal.CreationTime, deal.SectorNumber)
464+
deal.DealID, deal.FastRetrieval, deal.CreationTime.Time(), deal.SectorNumber)
465465

466466
if err != nil {
467467
return fmt.Errorf("deal: %s: failed to add the legacy deal to harmonyDB: %w", deal.ProposalCid.String(), err)

0 commit comments

Comments
 (0)