1
This commit is contained in:
parent
89fc7388a5
commit
f429bbe5ef
@ -47,6 +47,7 @@ class Activate721Nft extends BaseEventProcess {
|
||||
itemUniId,
|
||||
itemId);
|
||||
await this.confirmTransactionDb(transId);
|
||||
await this.markOk();
|
||||
}
|
||||
|
||||
async mintNft(transId, owner, tokenId, itemUniId, itemId) {
|
||||
|
@ -75,12 +75,15 @@ class BaseEventProcess {
|
||||
}
|
||||
|
||||
async markOk() {
|
||||
await this.updateEventDb(
|
||||
const {err} = await this.updateEventDb(
|
||||
[
|
||||
['state', constant.EVENTDB_STATE_HANDLED],
|
||||
['modifytime', utils.getUtcTime()],
|
||||
]
|
||||
);
|
||||
if (err) {
|
||||
this.throwError('markOk error');
|
||||
}
|
||||
}
|
||||
|
||||
async updateEventDb(fields) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user