diff --git a/contracts/protocols/MoatMaker.sol b/contracts/protocols/MoatMaker.sol index 142627e..ece2bd0 100644 --- a/contracts/protocols/MoatMaker.sol +++ b/contracts/protocols/MoatMaker.sol @@ -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); }