Skip to content

Commit

Permalink
fix(op-service): fallback client failed to switch URL in txmgr (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
welkin22 authored Aug 23, 2024
1 parent bd75e00 commit fe22f19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op-service/fallbackclient/dial.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func DialEthClientWithTimeoutAndFallback(ctx context.Context, url string, timeou
return nil, err
}
fallbackClient := NewFallbackClient(firstEthClient, urlList, l, fallbackThreshold, m, func(url string) (Client, error) {
ethClientNew, err := DialEthClientWithTimeout(ctx, timeout, l, url)
ethClientNew, err := DialEthClientWithTimeout(context.Background(), timeout, l, url)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit fe22f19

Please sign in to comment.