spark-wallet: use tor rate provider only when enforceTor

This commit is contained in:
Erik Arvstedt 2020-10-16 17:43:03 +02:00
parent 127b186c3c
commit 47d611b5ef
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -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}
'';