From 78d4a174a68902ff18be2b1593a1f4b28a22f2a3 Mon Sep 17 00:00:00 2001 From: Sowmayjain Date: Mon, 29 Oct 2018 00:59:30 +0530 Subject: [PATCH] Fixed blunder error. --- contracts/protocols/MoatMaker.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }