Skip to content

Commit

Permalink
feat: Remove pause from migration functions (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Manuel authored Nov 3, 2022
1 parent 4ee168b commit 587b5a5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions contracts/DebtLocker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,18 @@ contract DebtLocker is IDebtLocker, DebtLockerStorage, MapleProxiedInternals {
/*** Liquidity Migration Functions ***/
/*************************************/

function acceptLender() override external whenProtocolNotPaused {
function acceptLender() override external {
require(msg.sender == _loanMigrator, "DL:AL:NOT_MIGRATOR");

IMapleLoanLike(_loan).acceptLender();
}

function setPendingLender(address newLender_) override external whenProtocolNotPaused {
function setPendingLender(address newLender_) override external {
require(msg.sender == _loanMigrator, "DL:SPL:NOT_MIGRATOR");

IMapleLoanLike(_loan).setPendingLender(newLender_);
}


/*******************************/
/*** Pool Delegate Functions ***/
/*******************************/
Expand Down

0 comments on commit 587b5a5

Please sign in to comment.