diff --git a/background/background.go b/background/background.go index c601747..257c9da 100644 --- a/background/background.go +++ b/background/background.go @@ -154,6 +154,7 @@ func blockConnected() { walletClients, failedConnections := walletRPC.Clients(ctx, netParams) if len(walletClients) == 0 { log.Errorf("%s: Could not connect to any wallets", funcName) + return } if len(failedConnections) > 0 { log.Errorf("%s: Failed to connect to %d wallet(s), proceeding with only %d",