From 628376e957a9a79f9d8c2180305ba7a592244a47 Mon Sep 17 00:00:00 2001 From: Felipe Andrade Date: Wed, 12 Jul 2023 12:25:13 -0700 Subject: [PATCH] addr semgrep --- op-ufm/op-ufm/pkg/config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/op-ufm/op-ufm/pkg/config/config.go b/op-ufm/op-ufm/pkg/config/config.go index ee125e5..f9ff846 100644 --- a/op-ufm/op-ufm/pkg/config/config.go +++ b/op-ufm/op-ufm/pkg/config/config.go @@ -146,10 +146,10 @@ func (c *Config) Validate() error { if provider.Wallet == "" { return errors.Errorf("provider [%s] wallet is missing", name) } - if provider.SendInterval == 0 { + if provider.ReceiptRetrievalInterval == 0 { return errors.Errorf("provider [%s] receipt_retrieval_interval is missing", name) } - if provider.SendInterval == 0 { + if provider.ReceiptRetrievalTimeout == 0 { return errors.Errorf("provider [%s] receipt_retrieval_timeout is missing", name) } if _, ok := c.Wallets[provider.Wallet]; !ok {