Update contracts/polygon/connectors/dexSimulation/main.sol

Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
This commit is contained in:
0xPradyuman 2022-06-20 16:12:41 +05:30 committed by GitHub
parent d7a0fdb684
commit c28ac06738
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,