Skip to content

Commit

Permalink
Merge pull request SunWeb3Sec#454 from Kkaminsk86/main
Browse files Browse the repository at this point in the history
  • Loading branch information
SunWeb3Sec authored Oct 30, 2023
2 parents 0e95f7c + 5328753 commit 819fb28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/OpenLeverage_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ contract ContractTest is Test {
address to
) internal {
IERC20(token).approve(address(Router), type(uint256).max);
uint256 transferAmount = IERC20(token).balanceOf(from);

if (from != address(0)) {
uint256 transferAmount = IERC20(token).balanceOf(from);
uint256 allowance = IERC20(token).allowance(
from,
address(RewardVaultDelegator)
Expand Down

0 comments on commit 819fb28

Please sign in to comment.