Broadcast node count on disconnect

This commit is contained in:
maciejhirsz
2018-07-12 16:20:02 +02:00
parent ea8d7ad77d
commit 464caba671
+2
View File
@@ -56,6 +56,8 @@ export default class Aggregator {
chain.events.on('disconnect', (count: number) => {
if (count !== 0) {
this.feeds.broadcast(Feed.addedChain(chain));
return;
}