1
This commit is contained in:
parent
74fef65569
commit
586ae84de0
@ -34,7 +34,7 @@ class Transfer extends BaseEventProcess {
|
||||
tokenId
|
||||
);
|
||||
}
|
||||
await this.update721NftOwner(tokenId, this.getContractAddress(), to);
|
||||
await this.update721NftOwner(tokenId, this.getContractAddress(), to, from);
|
||||
await this.markOk();
|
||||
}
|
||||
|
||||
|
@ -362,7 +362,7 @@ class BaseEventProcess {
|
||||
}
|
||||
}
|
||||
|
||||
async update721NftOwner(tokenId, contractAddress, ownerAddress) {
|
||||
async update721NftOwner(tokenId, contractAddress, ownerAddress, lastOwnerAddress) {
|
||||
const logHead = this.genLogHead(' update721NftOwner ');
|
||||
const {err} = await this.bcNftDbConn(
|
||||
'update',
|
||||
@ -374,6 +374,7 @@ class BaseEventProcess {
|
||||
],
|
||||
[
|
||||
['owner_address', bcutils.toNormalAddress(ownerAddress)],
|
||||
['last_owner_address', bcutils.toNormalAddress(lastOwnerAddress)],
|
||||
]
|
||||
);
|
||||
if (err) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user