addr semgrep

This commit is contained in:
Felipe Andrade 2023-07-12 12:25:13 -07:00
parent ab3b5de5d1
commit 628376e957

@ -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 {