Skip to content

Commit

Permalink
Update polter.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
cinnabarhorse committed Nov 26, 2024
1 parent 1d0fe78 commit 4b90ef5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mappings/polter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1898,6 +1898,8 @@ export function handleTransfer(event: Transfer): void {
if (gotchi) {
log.info("Gotchi found for bridged back aavegotchi: {}", [tokenId]);
gotchi = updateAavegotchiInfo(gotchi, event.params._tokenId, event);
gotchi.originalOwner = ZERO_ADDRESS;
gotchi.owner = ZERO_ADDRESS;
gotchi = updateAavegotchiWearables(gotchi, event);
log.info("Saving Gotchi: {}", [tokenId]);
gotchi.save();
Expand Down

0 comments on commit 4b90ef5

Please sign in to comment.