Skip to content

Commit

Permalink
Update TokenClient.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaspai committed Mar 22, 2024
1 parent c1703fb commit d8b0f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clients/TokenClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export class TokenClient {
// Make eth_call using nearest 100_000th block to take advantage of eth_call caching when blockTag is
// specified. This is unexpected to change so we are ok to rarely increase this block tag.
this.hubPoolClient.hubPool.bondToken({
blockTag: Math.min(
blockTag: Math.max(
this.hubPoolClient.deploymentBlock,
Math.round(this.hubPoolClient.latestBlockSearched / 100_000) * 100_000
),
Expand Down

0 comments on commit d8b0f00

Please sign in to comment.