Fix event handler stacking leak

This commit is contained in:
Wietse Wind
2023-10-09 01:24:36 +02:00
parent da23109bbb
commit 16517f5199

View File

@@ -35,6 +35,7 @@ connections
// processed in order (sorted on sequence) and emitted in order
// to clients to prevent async tx sequence problems.
] })
}
c.on("validation", validation => onValidation({
connectionUrl: c.getState()?.server?.uri,
@@ -48,7 +49,6 @@ connections
ledger,
connection: c,
}))
}
c.on('online', () => subscribe())