Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrower95 committed Sep 25, 2024
1 parent d378d93 commit 1d12112
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/core/findStalePods.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,9 @@ func FindStaleEigenpods(ctx context.Context, eth *ethclient.Client, nodeUrl stri

delta := new(big.Int).Sub(currentShares, currentTotalAssets)
allowableDelta := FracMul(currentShares, big.NewInt(int64(tolerance)), big.NewInt(100))
if delta.Cmp(allowableDelta) > 0 {
if delta.Cmp(allowableDelta) >= 0 {
if verbose {
log.Printf("[%s] %sETH drop in assets (max allowed: %sETH, current shares: %sETH, anticipated shares: %sETH)\n",
log.Printf("[%s] %sETH drop in assets (max drop allowed: %sETH, current shares: %sETH, anticipated shares: %sETH)\n",
eigenpod,
IweiToEther(delta).String(),
IweiToEther(allowableDelta).String(),
Expand Down

0 comments on commit 1d12112

Please sign in to comment.