1
This commit is contained in:
parent
a209eaf56b
commit
b6f287e83b
@ -62,8 +62,7 @@ class PullBcEvent extends BaseService {
|
||||
}
|
||||
|
||||
getInstanceName() {
|
||||
const eventConf = this.event['eventConf'];
|
||||
const instName = this.getNetId() + '.' + eventConf['contract_name'] + eventConf['event_name'] ;
|
||||
const instName = this.getNetId() + '.' + this.getContractByName() + '.' + this.getEventName();
|
||||
return instName;
|
||||
}
|
||||
|
||||
@ -209,6 +208,10 @@ class PullBcEvent extends BaseService {
|
||||
return '';
|
||||
}
|
||||
|
||||
getContractName() {
|
||||
return this.eventConf['contract_name'];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module.exports = PullBcEvent;
|
||||
|
Loading…
x
Reference in New Issue
Block a user