Skip to content

Commit

Permalink
fix: remove extraneous import
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkmc committed Apr 2, 2021
1 parent d1eb076 commit 8fb8e7c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions retrievalmarket/impl/provider_environments.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
"github.com/filecoin-project/go-fil-markets/retrievalmarket/impl/providerstates"
"github.com/filecoin-project/go-fil-markets/retrievalmarket/impl/requestvalidation"
"github.com/filecoin-project/go-fil-markets/shared"
mktshared "github.com/filecoin-project/go-fil-markets/shared"
)

var _ requestvalidation.ValidationEnvironment = new(providerValidationEnvironment)
Expand Down Expand Up @@ -174,7 +173,7 @@ func (pde *providerDealEnvironment) ResumeDataTransfer(ctx context.Context, chid
func (pde *providerDealEnvironment) CloseDataTransfer(ctx context.Context, chid datatransfer.ChannelID) error {
// When we close the data transfer, we also send a cancel message to the peer.
// Make sure we don't wait too long to send the message.
ctx, cancel := context.WithTimeout(ctx, mktshared.CloseDataTransferTimeout)
ctx, cancel := context.WithTimeout(ctx, shared.CloseDataTransferTimeout)
defer cancel()

err := pde.p.dataTransfer.CloseDataTransferChannel(ctx, chid)
Expand Down

0 comments on commit 8fb8e7c

Please sign in to comment.