3
0
mirror of https://github.com/Qortal/qortal.git synced 2025-02-12 02:05:50 +00:00

Remove extraneous call to Controller.onNewBlock() after synchronization, as this call is performed per-block inside Synchronizer

This commit is contained in:
catbref 2020-10-28 08:42:59 +00:00
parent cec25ce279
commit da78c73485

View File

@ -656,9 +656,6 @@ public class Controller extends Thread {
// Reset our cache of inferior chains
inferiorChainSignatures.clear();
// Update chain-tip, systray, notify peers, websockets, etc.
this.onNewBlock(newChainTip);
Network network = Network.getInstance();
network.broadcast(broadcastPeer -> network.buildHeightMessage(broadcastPeer, newChainTip));
}