mirror of
https://github.com/Instadapp/smart-contract.git
synced 2024-07-29 22:08:07 +00:00
small bug
This commit is contained in:
parent
c11b590562
commit
2b06bcc8dd
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user