Skip to content

Commit 65a414e

Browse files
authored
Merge pull request #167 from Layr-Labs/jb/fix-find-stale-pods
Fix NPE in `find-stale-pods`
2 parents db2a2d7 + dfa37ed commit 65a414e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/core/findStalePods.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ func ComputeBalanceDeviationSync(ctx context.Context, eth *ethclient.Client, sta
194194
})
195195
PanicOnError("failed to load owner shares", err)
196196

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

0 commit comments

Comments
 (0)