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 a97bf0c commit 5aef3d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mappings/diamond.ts
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,10 @@ export function handleTransfer(event: Transfer): void {
log.debug("Syncing metadata for Gotchi {} from socket vault", [
event.params._tokenId.toString(),
]);

//Update all the gotchi's metadata
gotchi = updateAavegotchiInfo(gotchi, event.params._tokenId, event);
gotchi = updateAavegotchiWearables(gotchi, event);
}

gotchi.owner = newOwner.id;
Expand Down

0 comments on commit 5aef3d8

Please sign in to comment.