Skip to content

Commit

Permalink
Update diamond.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
cinnabarhorse committed Dec 2, 2024
1 parent 2933da0 commit 8732215
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/mappings/diamond.ts
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,12 @@ export function handleTransfer(event: Transfer): void {

//If the Gotchi is being transferred from the socket Vault, we need to sync its metadata
if (
event.params._from ==
Address.fromString("0xf1d1d61eedda7a10b494af7af87d932ac910f3c5")
event.params._from.equals(
Address.fromString("0xf1d1d61eedda7a10b494af7af87d932ac910f3c5")
) ||
event.params._from.equals(
Address.fromString("0xF1D1d61EEDDa7a10b494aF7af87D932AC910f3C5")
)
) {
log.debug("Syncing metadata for Gotchi {} from socket vault", [
event.params._tokenId.toString(),
Expand Down

0 comments on commit 8732215

Please sign in to comment.