fix potential uncatchable error.
This commit is contained in:
parent
bdc546edbc
commit
9c904f7b4f
@ -440,9 +440,11 @@ Pool.prototype._load = function _load() {
|
|||||||
|
|
||||||
this.load.hiReached = false;
|
this.load.hiReached = false;
|
||||||
|
|
||||||
this.emit('debug',
|
if (this.peers.load) {
|
||||||
'Requesting inv packet from %s with getblocks',
|
this.emit('debug',
|
||||||
this.peers.load.address);
|
'Requesting inv packet from %s with getblocks',
|
||||||
|
this.peers.load.address);
|
||||||
|
}
|
||||||
|
|
||||||
if (!this.options.fullNode) {
|
if (!this.options.fullNode) {
|
||||||
next = function(hash) {
|
next = function(hash) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user