Skip to content

Commit 2e41aed

Browse files
authored
fix(SwapAndBridge): increase allowance of correct token (#487)
1 parent 1bb60f2 commit 2e41aed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/SwapAndBridge.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ abstract contract SwapAndBridgeBase is Lockable, MultiCaller {
9898
uint256 srcBalanceBefore = _swapToken.balanceOf(address(this));
9999
uint256 dstBalanceBefore = _acrossInputToken.balanceOf(address(this));
100100

101-
_acrossInputToken.safeIncreaseAllowance(EXCHANGE, swapTokenAmount);
101+
_swapToken.safeIncreaseAllowance(EXCHANGE, swapTokenAmount);
102102
// solhint-disable-next-line avoid-low-level-calls
103103
(bool success, bytes memory result) = EXCHANGE.call(routerCalldata);
104104
require(success, string(result));

0 commit comments

Comments
 (0)