Skip to content

Commit

Permalink
Merge pull request #167 from Layr-Labs/jb/fix-find-stale-pods
Browse files Browse the repository at this point in the history
Fix NPE in `find-stale-pods`
  • Loading branch information
jbrower95 authored Jan 23, 2025
2 parents db2a2d7 + dfa37ed commit 65a414e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/core/findStalePods.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func ComputeBalanceDeviationSync(ctx context.Context, eth *ethclient.Client, sta
})
PanicOnError("failed to load owner shares", err)

var sharesPendingWithdrawal *big.Int
var sharesPendingWithdrawal *big.Int = new(big.Int).SetUint64(0)
withdrawalInfo, err := delegationManager.GetQueuedWithdrawals(nil, podOwner)
PanicOnError("failed to load queued withdrawals", err)

Expand Down

0 comments on commit 65a414e

Please sign in to comment.