We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab6bdb6 commit a433987Copy full SHA for a433987
cli/commands/completeAllWithdrawals.go
@@ -72,7 +72,7 @@ func CompleteAllWithdrawalsCommand(args TCompleteWithdrawalArgs) error {
72
73
eligibleWithdrawals := lo.Map(queuedWithdrawals.Withdrawals, func(withdrawal IDelegationManager.IDelegationManagerTypesWithdrawal, index int) *IDelegationManager.IDelegationManagerTypesWithdrawal {
74
isBeaconWithdrawal := len(withdrawal.Strategies) == 1 && withdrawal.Strategies[0].Cmp(core.BeaconStrategy()) == 0
75
- isExecutable := curBlockNumber <= uint64(withdrawal.StartBlock+minDelay)
+ isExecutable := curBlockNumber >= uint64(withdrawal.StartBlock+minDelay)
76
if isBeaconWithdrawal && isExecutable {
77
return &withdrawal
78
}
0 commit comments