Skip to content

Commit

Permalink
Merge pull request #16 from filecoin-project/chore/remove-unused-props
Browse files Browse the repository at this point in the history
chore: remove unused RetrievalClient properties
  • Loading branch information
hannahhoward authored Jan 5, 2023
2 parents 0193fb5 + 70d8bce commit 9b9fcc7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,9 @@ const sendMessageTimeout = 2 * time.Minute
type RetrievalClient struct {
blockstore blockstore.Blockstore
dataTransfer datatransfer.Manager
graphSync *graphsync.GraphSync
host host.Host
payChanMgr PayChannelManager
retrievalEventPublisher *eventpublisher.RetrievalEventPublisher
transport *dttransport.Transport
}

type Config struct {
Expand Down Expand Up @@ -191,11 +189,9 @@ func NewClientWithConfig(cfg *Config) (*RetrievalClient, error) {
client := &RetrievalClient{
blockstore: cfg.Blockstore,
dataTransfer: dataTransfer,
graphSync: graphSync,
host: cfg.Host,
payChanMgr: cfg.PayChannelManager,
retrievalEventPublisher: retrievalEventPublisher,
transport: dtTransport,
}

retrievalEventPublisher.Subscribe(client)
Expand Down

0 comments on commit 9b9fcc7

Please sign in to comment.