1
This commit is contained in:
parent
35fa87b5ee
commit
a4bd858033
@ -72,7 +72,7 @@ class Present {
|
|||||||
tokenId: this.getTokenId()
|
tokenId: this.getTokenId()
|
||||||
};
|
};
|
||||||
const methodArgs = [
|
const methodArgs = [
|
||||||
this.presentDb['buyer_address'],
|
this.presentDb['account'],
|
||||||
this.getTokenId()
|
this.getTokenId()
|
||||||
];
|
];
|
||||||
const onSyncSuccess = async (logClass, event) => {
|
const onSyncSuccess = async (logClass, event) => {
|
||||||
@ -145,7 +145,7 @@ class Present {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (row) {
|
if (row) {
|
||||||
if (row['owner_address'] != this.presentDb['buyer_address']) {
|
if (row['owner_address'] != this.presentDb['account']) {
|
||||||
await this.suspend(logClass, 'owner_address error');
|
await this.suspend(logClass, 'owner_address error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -159,7 +159,7 @@ class Present {
|
|||||||
['token_type', this.presentDb['bc_mint_token_type']],
|
['token_type', this.presentDb['bc_mint_token_type']],
|
||||||
['item_id', this.presentDb['bc_mint_itemid']],
|
['item_id', this.presentDb['bc_mint_itemid']],
|
||||||
['game_id', this.presentDb['game_id']],
|
['game_id', this.presentDb['game_id']],
|
||||||
['owner_address', this.presentDb['buyer_address']],
|
['owner_address', this.presentDb['account']],
|
||||||
['createtime', nowTime],
|
['createtime', nowTime],
|
||||||
['modifytime', nowTime],
|
['modifytime', nowTime],
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user