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

This commit is contained in:
0xPradyuman 2022-07-07 16:44:17 +05:30 committed by GitHub
parent d042290248
commit c7fd106eae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ abstract contract InstaDexSimulationResolver is Events, Helpers {
payable
returns (string memory _eventName, bytes memory _eventParam)
{
sellAmount = getUint(getId, buyAmount);
sellAmount = getUint(getId, sellAmount);
uint256 nativeAmount;
if (sellToken == maticAddr) {