This commit is contained in:
aozhiwei 2022-04-16 10:52:02 +08:00
parent 35fa87b5ee
commit a4bd858033

View File

@ -72,7 +72,7 @@ class Present {
tokenId: this.getTokenId()
};
const methodArgs = [
this.presentDb['buyer_address'],
this.presentDb['account'],
this.getTokenId()
];
const onSyncSuccess = async (logClass, event) => {
@ -145,7 +145,7 @@ class Present {
return;
}
if (row) {
if (row['owner_address'] != this.presentDb['buyer_address']) {
if (row['owner_address'] != this.presentDb['account']) {
await this.suspend(logClass, 'owner_address error');
return;
}
@ -159,7 +159,7 @@ class Present {
['token_type', this.presentDb['bc_mint_token_type']],
['item_id', this.presentDb['bc_mint_itemid']],
['game_id', this.presentDb['game_id']],
['owner_address', this.presentDb['buyer_address']],
['owner_address', this.presentDb['account']],
['createtime', nowTime],
['modifytime', nowTime],
];