Skip to content

Commit

Permalink
fix: emit SetWithdrawQueue in setCap
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisGD committed Dec 15, 2023
1 parent 764d031 commit 8da5980
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/MetaMorpho.sol
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,8 @@ contract MetaMorpho is ERC4626, ERC20Permit, Ownable2Step, Multicall, IMetaMorph
if (withdrawQueue.length > ConstantsLib.MAX_QUEUE_LENGTH) revert ErrorsLib.MaxQueueLengthExceeded();

marketConfig.enabled = true;

emit EventsLib.SetWithdrawQueue(msg.sender, withdrawQueue);
}

marketConfig.removableAt = 0;
Expand Down

0 comments on commit 8da5980

Please sign in to comment.