Skip to content

Commit bbbb03b

Browse files
committed
fix: Missing return for ILiquidityPoolLike.dsposit
1 parent 13894e3 commit bbbb03b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/MainnetController.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ contract MainnetController is ReentrancyGuard, AccessControlEnumerable {
508508
address weETHModule,
509509
uint256 weETHShares
510510
)
511-
external nonReentrant returns (uint256 requestId)
511+
external nonReentrant returns (uint256 requestId)
512512
{
513513
_checkRole(RELAYER);
514514

src/libraries/WeETHLib.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ interface IEETHLike is IERC20 {
1919

2020
interface ILiquidityPoolLike {
2121
function amountForShare(uint256 shareAmount) external view returns (uint256);
22-
function deposit() external;
22+
function deposit() external returns (uint256 shareAmount);
2323
function requestWithdraw(address receiver,uint256 amount) external returns (uint256 requestId);
2424
function withdrawRequestNFT() external view returns (address);
2525
}

0 commit comments

Comments
 (0)