From ef387f969fb96d7ab0409f43941c0721201b135d Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 24 Oct 2016 20:49:18 -0700 Subject: [PATCH] peer: minor - fix peer.sync(). --- lib/net/peer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/peer.js b/lib/net/peer.js index e80cdcde..932576bc 100644 --- a/lib/net/peer.js +++ b/lib/net/peer.js @@ -2493,7 +2493,7 @@ Peer.prototype.sync = function sync() { return Promise.resolve(); if (this.options.witness && !this.version.hasWitness()) - return; + return Promise.resolve(); if (!this.isLoader()) { if (!this.chain.synced)