Skip to content

Commit 2ee8f16

Browse files
committed
feat: fixed transaction conflicts in discovery
1 parent 47716b7 commit 2ee8f16

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/discovery/Discovery.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ class Discovery {
309309
}
310310
}
311311
await Promise.all(taskPromises);
312+
this.logger.info(`Stopped all tasks for ${this.constructor.name}`);
312313
this.taskManager.deregisterHandler(this.discoverVertexHandlerId);
313314
this.taskManager.deregisterHandler(this.checkRediscoveryHandlerId);
314315
this.logger.info(`Stopped ${this.constructor.name}`);

src/nodes/NodeConnection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ class NodeConnection {
308308
logger: logger.getChild(RPCClient.name),
309309
});
310310
if (validatedNodeId == null) {
311-
never(`connection validated but no valid NodeId was returned`);
311+
never('connection validated but no valid NodeId was returned');
312312
}
313313
// Obtaining remote node ID from certificate chain. It should always exist in the chain if validated.
314314
// This may de different from the NodeId we validated it as if it renewed at some point.

0 commit comments

Comments
 (0)