mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
Update contracts/polygon/connectors/dexSimulation/main.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
This commit is contained in:
parent
d7a0fdb684
commit
c28ac06738
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user