remove calls to getTip().
This commit is contained in:
parent
a3fc9159a0
commit
dbba098190
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user