From fcec11a34f6b2717ff7c0c3a445a23574ed40ae4 Mon Sep 17 00:00:00 2001 From: AstaFrode Date: Thu, 26 Oct 2023 17:12:54 +0800 Subject: [PATCH] Base blocksize (#84) * update bswap * update bswap * update node --- core/node.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/node.go b/core/node.go index cc88226..70bc546 100644 --- a/core/node.go +++ b/core/node.go @@ -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)