From 47d611b5ef1ecb2826061f4970141a3c0346f70d Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Fri, 16 Oct 2020 17:43:03 +0200 Subject: [PATCH] spark-wallet: use tor rate provider only when enforceTor --- modules/spark-wallet.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/spark-wallet.nix b/modules/spark-wallet.nix index 1ef8d56..9296359 100644 --- a/modules/spark-wallet.nix +++ b/modules/spark-wallet.nix @@ -18,7 +18,7 @@ let --ln-path '${cfg.ln-path}' \ --host ${cfg.host} \ --config '${config.nix-bitcoin.secretsDir}/spark-wallet-login' \ - ${torRateProvider} \ + ${optionalString cfg.enforceTor torRateProvider} \ $publicURL \ --pairing-qr --print-key ${cfg.extraArgs} '';