From 364945a955dafc90a45339d3f6f02b0b1d2d49da Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Sat, 13 Mar 2021 18:22:27 +0300 Subject: [PATCH] [#422] pkg/innerring: fix typo in config parameter name Signed-off-by: Evgenii Stratonikov --- pkg/innerring/innerring.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/innerring/innerring.go b/pkg/innerring/innerring.go index 4f2c0140a..2137d6ada 100644 --- a/pkg/innerring/innerring.go +++ b/pkg/innerring/innerring.go @@ -580,7 +580,7 @@ func createListener(ctx context.Context, p *chainParams) (event.Listener, error) sub, err := subscriber.New(ctx, &subscriber.Params{ Log: p.log, Endpoint: p.cfg.GetString(p.name + ".endpoint.notification"), - DialTimeout: p.cfg.GetDuration(p.name + ".dial_timeouts"), + DialTimeout: p.cfg.GetDuration(p.name + ".dial_timeout"), }) if err != nil { return nil, err @@ -603,7 +603,7 @@ func createClient(ctx context.Context, p *chainParams) (*client.Client, error) { p.cfg.GetString(p.name+".endpoint.client"), client.WithContext(ctx), client.WithLogger(p.log), - client.WithDialTimeout(p.cfg.GetDuration(p.name+".dial_timeouts")), + client.WithDialTimeout(p.cfg.GetDuration(p.name+".dial_timeout")), ) }