From c28ac06738d374ab9c1ebc10e734f44fa7cd9dd4 Mon Sep 17 00:00:00 2001 From: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com> Date: Mon, 20 Jun 2022 16:12:41 +0530 Subject: [PATCH] Update contracts/polygon/connectors/dexSimulation/main.sol Co-authored-by: Thrilok kumar --- contracts/polygon/connectors/dexSimulation/main.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/polygon/connectors/dexSimulation/main.sol b/contracts/polygon/connectors/dexSimulation/main.sol index b2f0a7bb..cbb251f6 100644 --- a/contracts/polygon/connectors/dexSimulation/main.sol +++ b/contracts/polygon/connectors/dexSimulation/main.sol @@ -47,7 +47,7 @@ abstract contract InstaDexSimulationResolver is Events, Helpers { approve(tokenContract, address(dexSimulation), sellAmount); } - InstaDexSimulation(dexSimulation).swap{ value: sellAmount }( + InstaDexSimulation(dexSimulation).swap{ value: nativeAmount }( sellToken, buyToken, sellAmount,