Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 4069995

Browse files
committed
fix: only pass options to bitswap as last arg
1 parent 201e2d4 commit 4069995

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/core/components/start.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ module.exports = (self) => {
4545
self._bitswap = new Bitswap(
4646
self._libp2pNode,
4747
self._repo.blocks,
48-
Object.assign({
49-
statsEnabled: true
50-
}, self._peerInfoBook)
48+
{ statsEnabled: true }
5149
)
5250

5351
self._bitswap.start()

0 commit comments

Comments
 (0)