You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/contracts/contracts/LenderCommitmentForwarder/extensions/LenderCommitmentGroup/LenderCommitmentGroup_Pool_V2.sol
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1301,6 +1301,7 @@ contract LenderCommitmentGroup_Pool_V2 is
1301
1301
1302
1302
// Similar to addPrincipalToCommitmentGroup but following ERC4626 standard
1303
1303
require(assets >0 );
1304
+
require( msg.sender== receiver );
1304
1305
1305
1306
bool poolWasActivated =poolIsActivated();
1306
1307
@@ -1351,6 +1352,8 @@ contract LenderCommitmentGroup_Pool_V2 is
0 commit comments