1
This commit is contained in:
parent
1cb5788f41
commit
06c38e743d
@ -34,18 +34,22 @@ class BcSpider extends BaseTask {
|
||||
}
|
||||
};
|
||||
events.push(event);
|
||||
const pullBcEventService = this.createPullBcEventService(net, event);
|
||||
event['pullBcEventService'] = pullBcEventService;
|
||||
this.createPullBcEventService(net, event);
|
||||
});
|
||||
}
|
||||
|
||||
createPullBcEventService(net, event) {
|
||||
const bc = serviceFactory.create('BlockChain');
|
||||
const pullBcEventService = serviceFactory.create('PullBcEvent');
|
||||
event['pullBcEventService'] = pullBcEventService;
|
||||
pullBcEventService.init(bc, net, event);
|
||||
return pullBcEventService;
|
||||
}
|
||||
|
||||
outputProgressInfo() {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module.exports = BcSpider;
|
||||
|
Loading…
x
Reference in New Issue
Block a user