lib: fix chain.isFull()

This commit is contained in:
Fedor Indutny 2014-05-10 23:35:22 +04:00
parent 253ea8beea
commit 8cd092dc2e

View File

@ -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];