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