diff --git a/storagemarket/impl/provider_states.go b/storagemarket/impl/provider_states.go index c4449a66..5045b96d 100644 --- a/storagemarket/impl/provider_states.go +++ b/storagemarket/impl/provider_states.go @@ -169,7 +169,7 @@ func (p *Provider) staged(ctx context.Context, deal MinerDeal) (func(*MinerDeal) return func(deal *MinerDeal) { deal.SectorID = sectorID - deal.Path = path + deal.PiecePath = path }, nil } diff --git a/storagemarket/types.go b/storagemarket/types.go index 0ef226ba..54508203 100644 --- a/storagemarket/types.go +++ b/storagemarket/types.go @@ -144,7 +144,7 @@ type MinerDeal struct { Miner peer.ID Client peer.ID State DealState - Path filestore.Path + PiecePath filestore.Path Ref cid.Cid