Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/shared/Swap/OneInch/OneInchUniswapV3.sol
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ contract OneInchUniswapV3 is ISwapper {
bytes calldata _swapData // from 1inch API
) external payable override returns (uint256 amountOut) {
// check if msg.value is same as amountIn
require(msg.value >= _amountIn, "OneInchUniswapV3: msg.value != _amountIn");
require(msg.value == _amountIn, "OneInchUniswapV3: msg.value != _amountIn");

if (_toAsset != address(0)) {
// decode the swap data
Expand Down