Skip to content

Commit b6f75b0

Browse files
tegefaulkesCMCDragonkai
authored andcommitted
fix: bug with network entry task when no seed nodes are provided
[ci skip]
1 parent 6ddd9ed commit b6f75b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nodes/NodeManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class NodeManager {
144144
const seedNodes = this.nodeConnectionManager.getSeedNodes();
145145
const allInactive = !seedNodes
146146
.map((nodeId) => this.nodeConnectionManager.hasConnection(nodeId))
147-
.reduce((a, b) => a || b);
147+
.reduce((a, b) => a || b, false);
148148
try {
149149
if (allInactive) {
150150
this.logger.debug(

0 commit comments

Comments
 (0)