mirror of
https://github.com/Instadapp/InstaContract.git
synced 2024-07-29 22:47:45 +00:00
Fixed blunder error.
This commit is contained in:
parent
e4a09ebcb8
commit
78d4a174a6
|
@ -120,7 +120,7 @@ contract IssueLoan is GlobalVar {
|
||||||
loanMaster.draw(cdps[borrower], daiDraw);
|
loanMaster.draw(cdps[borrower], daiDraw);
|
||||||
uint fees = deductFees(daiDraw);
|
uint fees = deductFees(daiDraw);
|
||||||
IERC20 tokenFunctions = IERC20(dai);
|
IERC20 tokenFunctions = IERC20(dai);
|
||||||
tokenFunctions.transfer(getAddress("resolver"), daiDraw - fees);
|
tokenFunctions.transfer(borrower, daiDraw - fees);
|
||||||
emit LoanedDAI(borrower, daiDraw, fees);
|
emit LoanedDAI(borrower, daiDraw, fees);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user