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
c28ac06738
commit
00d0760119
|
@ -37,6 +37,7 @@ abstract contract InstaDexSimulationResolver is Events, Helpers {
|
|||
sellAmount = sellAmount == uint256(-1)
|
||||
? address(this).balance
|
||||
: sellAmount;
|
||||
nativeAmount = sellAmount;
|
||||
} else {
|
||||
TokenInterface tokenContract = TokenInterface(sellToken);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user