peer: minor - fix peer.sync().
This commit is contained in:
parent
48c65bb58b
commit
ef387f969f
@ -2493,7 +2493,7 @@ Peer.prototype.sync = function sync() {
|
|||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
|
|
||||||
if (this.options.witness && !this.version.hasWitness())
|
if (this.options.witness && !this.version.hasWitness())
|
||||||
return;
|
return Promise.resolve();
|
||||||
|
|
||||||
if (!this.isLoader()) {
|
if (!this.isLoader()) {
|
||||||
if (!this.chain.synced)
|
if (!this.chain.synced)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user