Update helpers.sol

This commit is contained in:
0xBhavik 2022-01-17 00:44:25 +05:30 committed by GitHub
parent 5f9005650a
commit ac72a6d574
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ abstract contract Helpers is DSMath, Basic {
swapData._buyAmt = _swapHelper(swapData);
bool isEthBuyToken = address(swapData.buyToken) == wethAddr;
convertWethToEth(isEthBuyToken, swapData.buyToken, swapData .buyAmt);
convertWethToEth(isEthBuyToken, swapData.buyToken, swapData._buyAmt);
setUint(setId, swapData._buyAmt);