Skip to content

Commit

Permalink
Use more descriptive name for filestore path for piece data
Browse files Browse the repository at this point in the history
  • Loading branch information
ingar committed Jan 8, 2020
1 parent b07515b commit 662aa2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion storagemarket/impl/provider_states.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion storagemarket/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ type MinerDeal struct {
Miner peer.ID
Client peer.ID
State DealState
Path filestore.Path
PiecePath filestore.Path

Ref cid.Cid

Expand Down

0 comments on commit 662aa2c

Please sign in to comment.