Skip to content

Commit

Permalink
bigint parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
joepegler committed Mar 13, 2024
1 parent 33353ff commit 3c930e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bundler/src/Bundler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export class Bundler implements IBundler {
if (userOpResponse && userOpResponse.receipt && userOpResponse.receipt.blockNumber) {
if (confirmations) {
const latestBlock = await this.provider.getBlockNumber();
const confirmedBlocks = Number(latestBlock) - userOpResponse.receipt.blockNumber;
const confirmedBlocks = Number(latestBlock) - Number(userOpResponse.receipt.blockNumber);
if (confirmations >= confirmedBlocks) {
clearInterval(intervalId);
resolve(userOpResponse);
Expand Down

0 comments on commit 3c930e9

Please sign in to comment.