Skip to content

Commit ce31536

Browse files
committed
fix: wrong amount
1 parent 3f64f47 commit ce31536

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

script/helpers/WithdrawCreditsArbitrumFeesPlug.s.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ contract WithdrawCredits is Script {
3333
if (availableCredits > 0) {
3434
uint256 maxFees = 10000000000000000; // Static 1 cent USDC credit (18 decimals)
3535
// TODO: Also wrap native amount to be able to max withdraw
36-
uint256 amountToWithdraw = 900000000000000000; // availableCredits - maxFees;
36+
uint256 amountToWithdraw = availableCredits - maxFees;
3737

3838
if (amountToWithdraw > 0) {
3939
vm.startBroadcast(privateKey);

0 commit comments

Comments
 (0)