Skip to content

Commit

Permalink
fix(op-node): fix dial client return value type
Browse files Browse the repository at this point in the history
  • Loading branch information
redhdx committed Feb 21, 2024
1 parent 5911a3b commit d02e3f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op-service/dial/dial.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const TxmgrFallbackThreshold int64 = 3
// DialEthClientWithTimeout attempts to dial the L1 provider using the provided
// URL. If the dial doesn't complete within defaultDialTimeout seconds, this
// method will return an error.
func DialEthClientWithTimeout(ctx context.Context, timeout time.Duration, log log.Logger, url string) (client.Client, error) {
func DialEthClientWithTimeout(ctx context.Context, timeout time.Duration, log log.Logger, url string) (*ethclient.Client, error) {
ctx, cancel := context.WithTimeout(ctx, timeout)
defer cancel()

Expand Down

0 comments on commit d02e3f7

Please sign in to comment.