Skip to content

Commit

Permalink
fix: use I64
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Jul 23, 2024
1 parent b1e8661 commit 9e1524f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mappings/erc-721-pool-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export function handlePoolCreated(event: PoolCreatedEvent): void {

for (let i = 0; i < tokenIdsHexString.length; i += chunkSize) {
let hexChunk = tokenIdsHexString.substring(i, i + chunkSize);
let bigIntValue = BigInt.fromI64(I64.parseInt(hexChunk, 16));
let bigIntValue = BigInt.fromU32(U32.parseInt(hexChunk, 16));
tokenIds.push(bigIntValue);
}
}
Expand Down

0 comments on commit 9e1524f

Please sign in to comment.