Skip to content

Commit

Permalink
ipfs: announce via frt
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Nov 19, 2023
1 parent 01e4521 commit 0cf890b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ipfs/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,9 @@ func NewNode(ctx context.Context, privateKey crypto.PrivKey, cfg config.IPFS, ds

blockServ := blockservice.New(bs, bitswap)
dagService := merkledag.NewDAGService(blockServ)

bsp := provider.NewBlockstoreProvider(bs)

prov, err := provider.New(ds, provider.KeyProvider(bsp))
prov, err := provider.New(ds, provider.KeyProvider(bsp), provider.Online(frt))
if err != nil {
return nil, fmt.Errorf("failed to create provider: %w", err)
}
Expand Down

0 comments on commit 0cf890b

Please sign in to comment.