Skip to content

Commit

Permalink
feat: query vesting on the latest block
Browse files Browse the repository at this point in the history
  • Loading branch information
belopash committed Oct 18, 2024
1 parent b8827c8 commit 6836ff0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/contracts/vesting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ export function useVestingContracts({ addresses }: { addresses?: `0x${string}`[]
] as const;
}),
allowFailure: true,
blockNumber: BigInt(currentHeight),
// blockNumber: BigInt(currentHeight),
query: {
enabled: !isSquidHeightLoading && !!addresses?.length,
// enabled: !isSquidHeightLoading && !!addresses?.length,
placeholderData: keepPreviousData,
select: res => {
if (res?.some(r => r.status === 'success')) {
Expand Down

0 comments on commit 6836ff0

Please sign in to comment.