From 2b06bcc8dd5ff2a69e030850ed04a26a79285631 Mon Sep 17 00:00:00 2001 From: Samyak Jain Date: Mon, 24 Jun 2019 03:26:01 +0530 Subject: [PATCH] small bug --- contracts/ProxyLogics/InstaSave.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/ProxyLogics/InstaSave.sol b/contracts/ProxyLogics/InstaSave.sol index dbe7fd3..dda0e33 100644 --- a/contracts/ProxyLogics/InstaSave.sol +++ b/contracts/ProxyLogics/InstaSave.sol @@ -397,6 +397,7 @@ contract GetDetails is MakerHelpers { address srcAdd = src; address destAdd = dest; (uint kyberPrice,) = KyberInterface(getAddressKyber()).getExpectedRate(srcAdd, destAdd, srcAmt); + kyberPrice = wmul(srcAmt, kyberPrice); if (srcAdd == getAddressETH()) { srcAdd = getAddressWETH(); } else {