Skip to content

Commit

Permalink
eth/executionclient: fix panic in multi-client (#2015)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkryuchkov authored Feb 3, 2025
1 parent b6f2f58 commit 65e739f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/executionclient/multi_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ func (mc *MultiClient) call(ctx context.Context, f func(client SingleClientProvi
client, err := mc.getClient(ctx, clientIndex)
if err != nil {
mc.logger.Warn("client unavailable, switching to the next client",
zap.String("addr", mc.nodeAddrs[i]),
zap.String("addr", mc.nodeAddrs[clientIndex]),
zap.Error(err))

allErrs = errors.Join(allErrs, err)
Expand Down

0 comments on commit 65e739f

Please sign in to comment.