This commit is contained in:
aozhiwei 2023-07-11 17:33:21 +08:00
parent fb1a72bec0
commit 27880bebce

View File

@ -61,6 +61,7 @@ class Activate721Nft extends BaseEventProcess {
} }
await this.updateGameDbInfo(transId, itemUniId, itemId, tokenId, tokenType); await this.updateGameDbInfo(transId, itemUniId, itemId, tokenId, tokenType);
const nowTime = utils.getUtcTime(); const nowTime = utils.getUtcTime();
const contractAddress = this.getContractAddress();
const fieldList = [ const fieldList = [
['token_id', tokenId], ['token_id', tokenId],
['token_type', tokenType], ['token_type', tokenType],
@ -69,7 +70,7 @@ class Activate721Nft extends BaseEventProcess {
['creator_address', bcutils.toNormalAddress(owner)], ['creator_address', bcutils.toNormalAddress(owner)],
['confirm_block_number', this.getBlockNumber()], ['confirm_block_number', this.getBlockNumber()],
['net_id', this.getNetId()], ['net_id', this.getNetId()],
['contract_address', this.getContractAddress()], ['contract_address', contractAddress],
['createtime', nowTime], ['createtime', nowTime],
['modifytime', nowTime], ['modifytime', nowTime],
]; ];
@ -79,7 +80,7 @@ class Activate721Nft extends BaseEventProcess {
[ [
['token_id', tokenId], ['token_id', tokenId],
['net_id', this.getNetId()], ['net_id', this.getNetId()],
['contract_address', this.getContractAddress()], ['contract_address', contractAddress],
], ],
[ [
], ],