Skip to content

Commit

Permalink
Base blocksize (#84)
Browse files Browse the repository at this point in the history
* update bswap

* update bswap

* update node
  • Loading branch information
AstaFrode authored Oct 26, 2023
1 parent dd12871 commit fcec11a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,11 @@ func NewBasicNode(
}

n.bstore = blockstore.NewBlockstore(ds_sync.MutexWrap(fsdatastore))
n.bswap = bitswap.New(n.ctxQueryFromCtxCancel, network, n.bstore)
n.bswap = bitswap.New(
n.ctxQueryFromCtxCancel,
network,
n.bstore,
)

n.initProtocol(protocolPrefix)

Expand Down

0 comments on commit fcec11a

Please sign in to comment.