mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
fix nftUpdate critical bug (#534)
This commit is contained in:
parent
73089dacc3
commit
39b58ba8fe
@ -119,7 +119,7 @@ export function handleTokenUriUpdate(event: TokenURIUpdate): void {
|
|||||||
nftUpdate.timestamp = event.block.timestamp.toI32()
|
nftUpdate.timestamp = event.block.timestamp.toI32()
|
||||||
nftUpdate.tx = event.transaction.hash.toHex()
|
nftUpdate.tx = event.transaction.hash.toHex()
|
||||||
nftUpdate.block = event.block.number.toI32()
|
nftUpdate.block = event.block.number.toI32()
|
||||||
|
nftUpdate.assetState = nft.assetState
|
||||||
nftUpdate.save()
|
nftUpdate.save()
|
||||||
nft.save()
|
nft.save()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user