1
This commit is contained in:
parent
1688743a2e
commit
73d14ecc4b
@ -103,7 +103,7 @@ class PullBcEvent extends BaseService {
|
||||
this.lastBlockNumber = firstBlockNumber;
|
||||
}
|
||||
}
|
||||
console.log(logHead, this.lastBlockNumber, this.bc.getCurrBlockNumber());
|
||||
console.log(logHead, this.lastBlockNumber, this.bc.getCurrBlockNumber(), err, row, firstBlockNumber);
|
||||
while (this.lastBlockNumber + 8 > this.bc.getCurrBlockNumber()) {
|
||||
await utils.sleep(1000 + utils.randRange(500, 1500));
|
||||
}
|
||||
@ -218,7 +218,7 @@ class PullBcEvent extends BaseService {
|
||||
}
|
||||
|
||||
getInitBlock() {
|
||||
if (!utils.isOnlineEnv()) {
|
||||
if (!utils.isOnlineEnv() && this.getNetId() == 421613) {
|
||||
return 30120896;
|
||||
}
|
||||
return this.eventConf['init_block'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user