Skip to content

Commit

Permalink
contracts: Balancer pool: use exact LUSD approval amount
Browse files Browse the repository at this point in the history
  • Loading branch information
bingen committed Jun 16, 2021
1 parent 0bf96e7 commit 9e34df6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ async function main() {
ERC20.abi,
deployerWallet
)
const txApproveLusd = await lusd.approve(VAULT, toBigNum(dec(1, 36)));
const txApproveLusd = await lusd.approve(VAULT, lusd_balance);
await txApproveLusd.wait()

// joins and exits are done on the Vault, not the pool
Expand Down

0 comments on commit 9e34df6

Please sign in to comment.