Skip to content

Commit

Permalink
feat: oeth withdrawal
Browse files Browse the repository at this point in the history
- fix check for claimable amount (now at index 1)
  • Loading branch information
apexearth committed Aug 12, 2024
1 parent 8756e3e commit f6b797d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/defi/oeth/src/redeem/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const fetcher: (
return requests.map((r) => {
const claimable =
!r.claimed &&
BigInt(r.queued) <= BigInt(queueData?.claimable ?? 0) &&
BigInt(r.queued) <= BigInt(queueData?.[1] ?? 0) &&
isAfter(
new Date(),
addMinutes(new Date(r.timestamp), WITHDRAW_DELAY + 1),
Expand Down

0 comments on commit f6b797d

Please sign in to comment.