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
12ffa7dfcb
commit
c11b590562
|
@ -402,7 +402,7 @@ contract GetDetails is MakerHelpers {
|
|||
} else {
|
||||
destAdd = getAddressWETH();
|
||||
}
|
||||
uint eth2DaiPrice = Eth2DaiInterface(getAddressEth2Dai()).getBuyAmount(srcAdd, destAdd, srcAmt);
|
||||
uint eth2DaiPrice = Eth2DaiInterface(getAddressEth2Dai()).getBuyAmount(destAdd, srcAdd, srcAmt);
|
||||
if (eth2DaiPrice > kyberPrice) {
|
||||
bestRate = eth2DaiPrice;
|
||||
isBest = 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user