Skip to content

Commit

Permalink
chore: add curly brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyonline committed Sep 24, 2024
1 parent a9ff9bc commit 24b72b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ynEIGEN/EigenStrategyManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,9 @@ contract EigenStrategyManager is

uint256 strategyWithdrawalQueueBalance;
uint256 queuedShares = node.queuedShares(strategies[asset]);
if (queuedShares > 0)
if (queuedShares > 0) {
strategyWithdrawalQueueBalance = toUserAssetAmount(asset, strategies[asset].sharesToUnderlyingView(queuedShares));
}

uint256 strategyWithdrawnBalance = node.withdrawn(asset);

Expand Down

0 comments on commit 24b72b5

Please sign in to comment.