This commit is contained in:
aozhiwei 2023-07-03 18:06:47 +08:00
parent ff55e15735
commit 72c7004f7d

View File

@ -8,7 +8,6 @@ class PullBcEvent extends BaseService {
async init(bc, net, event) {
this.conn = conn;
this.cb = cb;
this.lastBlockNumber = 0;
this.bc = bc;
this.net = net;
@ -66,7 +65,6 @@ class PullBcEvent extends BaseService {
for (let i in events) {
while (true) {
try {
await this.cb(events[i]);
await this.saveToDb(events[i]);
break;
} catch (err) {