Skip to content

Commit

Permalink
fix: add continue
Browse files Browse the repository at this point in the history
  • Loading branch information
hopeyen committed Dec 10, 2024
1 parent 91856ce commit fc716e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/eth/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,7 @@ func (t *Reader) GetOnDemandPayments(ctx context.Context, accountIDs []gethcommo
for i, payment := range payments {
if payment.Cmp(big.NewInt(0)) == 0 {
delete(paymentsMap, accountIDs[i])
continue
}
paymentsMap[accountIDs[i]] = &core.OnDemandPayment{
CumulativePayment: payment,
Expand Down

0 comments on commit fc716e1

Please sign in to comment.