Skip to content

Commit

Permalink
Merge pull request #105 from lidofinance/fix/wq-fix
Browse files Browse the repository at this point in the history
fix: withdrawal batches fix
  • Loading branch information
rkolpakov authored Aug 22, 2024
2 parents 5f1f107 + 3515294 commit 78131cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/Escrow.sol
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ contract Escrow is IEscrow {
uint256 maxStETHWithdrawalRequestAmount = WITHDRAWAL_QUEUE.MAX_STETH_WITHDRAWAL_AMOUNT();

if (stETHRemaining < minStETHWithdrawalRequestAmount) {
_batchesQueue.close();
return _batchesQueue.close();
}

uint256[] memory requestAmounts = WithdrawalsBatchesQueue.calcRequestAmounts({
Expand Down

0 comments on commit 78131cd

Please sign in to comment.