1
This commit is contained in:
parent
5312396dc4
commit
9886063bb3
@ -216,7 +216,7 @@ class DbEventProcess extends BaseService {
|
|||||||
if (!this.eventHandle) {
|
if (!this.eventHandle) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
const handle = eventsFactory.createHandle(this);
|
const handle = eventsFactory.createEventHandle(this);
|
||||||
await handle.start();
|
await handle.start();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ class BaseEventProcess {
|
|||||||
this.eventProc = proc;
|
this.eventProc = proc;
|
||||||
this.conn = conn;
|
this.conn = conn;
|
||||||
this.eventDb = eventDb;
|
this.eventDb = eventDb;
|
||||||
this.returnValues = utils.jsonDecode(this.getEventDb());
|
this.returnValues = utils.jsonDecode(this.getEventDb()['return_values']);
|
||||||
}
|
}
|
||||||
|
|
||||||
genLogHead(msg) {
|
genLogHead(msg) {
|
||||||
|
@ -122,7 +122,7 @@ class PullDbEvent extends BaseService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getInstanceName() {
|
getInstanceName() {
|
||||||
const instName = this.getNetId() + '.' + this.getContractName() + '.' + this.getEventName();
|
const instName = this.getNetId() + ' ' + this.getContractName() + '.' + this.getEventName();
|
||||||
return instName;
|
return instName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user