Skip to content

Commit

Permalink
fix(x/evmstaking): swept len
Browse files Browse the repository at this point in the history
  • Loading branch information
jdubpark committed Sep 9, 2024
1 parent 46223f1 commit c333ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/x/evmstaking/keeper/withdraw.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func (k Keeper) ExpectedPartialWithdrawals(ctx context.Context) ([]estypes.Withd
nextValDelIndex = 0

// Increase the total swept amount.
swept += uint32(len(delegators))
swept += uint32(len(nextDelegators))
}

// Update the validator sweep index.
Expand Down

0 comments on commit c333ad7

Please sign in to comment.