Skip to content

Commit

Permalink
Update mapping_polter.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
cinnabarhorse committed Nov 18, 2024
1 parent d1080a4 commit 36b2311
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/mapping_polter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ export function handleTransfer(event: Transfer): void {

if (gotchiInfo.value.status == BigInt.fromI32(3)) {
log.info("mapping gotchi", [token.toString()]);
let gotchi = event.block.number.ge(BLOCK_SIDEVIEWS_ACTIVATED)
? updateSideViews(event.params._tokenId)
: updateSvg(event.params._tokenId);
let gotchi = updateSvg(event.params._tokenId);

//event.block.number.ge(BLOCK_SIDEVIEWS_ACTIVATED)
// ? updateSideViews(event.params._tokenId)
// : updateSvg(event.params._tokenId);
if (gotchi != null) {
gotchi.save();
}
Expand Down

0 comments on commit 36b2311

Please sign in to comment.