Fixed blunder error.

This commit is contained in:
Sowmayjain 2018-10-29 00:59:30 +05:30
parent e4a09ebcb8
commit 78d4a174a6

View File

@ -120,7 +120,7 @@ contract IssueLoan is GlobalVar {
loanMaster.draw(cdps[borrower], daiDraw);
uint fees = deductFees(daiDraw);
IERC20 tokenFunctions = IERC20(dai);
tokenFunctions.transfer(getAddress("resolver"), daiDraw - fees);
tokenFunctions.transfer(borrower, daiDraw - fees);
emit LoanedDAI(borrower, daiDraw, fees);
}