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