mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-27 15:08:02 +00:00
Update block immediately after adding a node to the chain
This commit is contained in:
@@ -45,6 +45,8 @@ export default class Chain {
|
||||
node.events.on('block', () => this.updateBlock(node));
|
||||
node.events.on('stats', () => this.feeds.broadcast(Feed.stats(node)));
|
||||
node.events.on('location', (location) => this.feeds.broadcast(Feed.locatedNode(node, location)));
|
||||
|
||||
this.updateBlock(node);
|
||||
}
|
||||
|
||||
public addFeed(feed: Feed) {
|
||||
|
||||
Reference in New Issue
Block a user