diff --git a/lib/bcoin/pool.js b/lib/bcoin/pool.js index 2edee61c..79857788 100644 --- a/lib/bcoin/pool.js +++ b/lib/bcoin/pool.js @@ -1323,7 +1323,7 @@ Pool.prototype.searchWallet = function(w, h) { utils.debug( 'Reverted chain to height=%d (%s)', self.chain.height(), - new Date(self.chain.getTip().ts * 1000) + new Date(self.chain.tip.ts * 1000) ); }); @@ -1411,7 +1411,7 @@ Pool.prototype.search = function search(id, range, e) { timeout = setTimeout(done.bind(null, true), total); - if (range.start < this.chain.getTip().ts) { + if (range.start < this.chain.tip.ts) { this.chain.resetTime(range.start); this.stopSync(); this.startSync();