This commit is contained in:
aozhiwei 2023-07-11 18:19:50 +08:00
parent a98da690a7
commit 550cdee4b4
2 changed files with 6 additions and 2 deletions

View File

@ -46,7 +46,7 @@ class Activate721Nft extends BaseEventProcess {
tokenId,
itemUniId,
itemId);
await gameapi.confirmTransactionDb(transId);
await this.confirmTransactionDb(transId);
}
async mintNft(transId, owner, tokenId, itemUniId, itemId) {

View File

@ -63,7 +63,7 @@ class BaseEventProcess {
}
getContractAddressByName(name) {
return this.eventProc.getContractName(name);
return this.eventProc.getContractAddressByName(name);
}
getReturnValues() {
@ -205,6 +205,10 @@ class BaseEventProcess {
return ret;
}
async confirmTransactionDb(transId) {
this.throwError('not impl');
}
}
module.exports = BaseEventProcess;