Skip to content

Commit 3a4f1ef

Browse files
use _msgSender() instead of msg.sender
1 parent 33d1b8d commit 3a4f1ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MaglevBase.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ abstract contract MaglevBase is IMaglevBase, EVCUtil {
8686

8787
// Invoke callback
8888

89-
if (data.length > 0) IUniswapV2Callee(to).uniswapV2Call(msg.sender, amount0Out, amount1Out, data);
89+
if (data.length > 0) IUniswapV2Callee(to).uniswapV2Call(_msgSender(), amount0Out, amount1Out, data);
9090

9191
// Deposit all available funds, adjust received amounts downward to collect fees
9292

0 commit comments

Comments
 (0)