lib: fix chain.isFull()
This commit is contained in:
parent
253ea8beea
commit
8cd092dc2e
@ -322,7 +322,7 @@ Chain.prototype.get = function get(hash, cb) {
|
||||
|
||||
Chain.prototype.isFull = function isFull() {
|
||||
// < 40m since last block
|
||||
if (!this.request.count)
|
||||
if (this.request.count)
|
||||
return false;
|
||||
|
||||
var delta = (+new Date() / 1000) - this.index.ts[this.index.ts.length - 1];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user