Skip to content

Commit

Permalink
Update Max allowance amount
Browse files Browse the repository at this point in the history
  • Loading branch information
VegeBun-csj committed Sep 21, 2024
1 parent 9f4e42a commit b4b7daf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hooks/migrate/useTokenAllowance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ export const useTokenAllowance = ({
functionName: 'approve',
args: [
import.meta.env.VITE_BRIDGE_CONTRACT_ADDRESS,
MustBigNumber(ethDORABalance).shiftedBy(TOKEN_DECIMAL_SHIFT).toFixed(),
// approve amount: set as a big number
BigInt("1000000000000000000000000000"),
],
chainId: Number(import.meta.env.VITE_ETH_CHAIN_ID),
});
Expand Down

0 comments on commit b4b7daf

Please sign in to comment.