Skip to content

Commit 253d382

Browse files
authored
fix: check if reserve is configured (#4837)
1 parent 0e42d83 commit 253d382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/node/node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ func NewBee(
950950
}
951951
}
952952

953-
pushSyncProtocol := pushsync.New(swarmAddress, networkID, nonce, p2ps, localStore, waitNetworkRFunc, kad, o.FullNodeMode, pssService.TryUnwrap, validStamp, logger, acc, pricer, signer, tracer, warmupTime)
953+
pushSyncProtocol := pushsync.New(swarmAddress, networkID, nonce, p2ps, localStore, waitNetworkRFunc, kad, o.FullNodeMode && !o.BootnodeMode, pssService.TryUnwrap, validStamp, logger, acc, pricer, signer, tracer, warmupTime)
954954
b.pushSyncCloser = pushSyncProtocol
955955

956956
// set the pushSyncer in the PSS

0 commit comments

Comments
 (0)