fix: Failsafe broadcast (#167)

This commit is contained in:
Maciej Hirsz
2019-07-31 15:20:47 +02:00
committed by GitHub
parent bbe7aee044
commit 72806ff282
3 changed files with 10 additions and 2 deletions
+2
View File
@@ -91,6 +91,8 @@ export default class Chain {
}
public staleNode(node: Node) {
node.isStale = true;
this.feeds.broadcast(Feed.staleNode(node));
if (this.height === node.best.number) {