From 05353e0e1aa36e4772b5fa2d9f1db7e2747fa596 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 18 Jan 2017 21:59:46 -0800 Subject: [PATCH] peer: do not flush merkle blocks early. --- lib/net/peer.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/net/peer.js b/lib/net/peer.js index ca41187c..61d33ee5 100644 --- a/lib/net/peer.js +++ b/lib/net/peer.js @@ -1456,11 +1456,6 @@ Peer.prototype.onPacket = co(function* onPacket(packet) { this.bip150.reject(new Error('Message before auth.')); } - if (this.lastMerkle) { - if (packet.type !== packetTypes.TX) - this.flushMerkle(); - } - entry = this.fulfill(packet); switch (packet.type) {