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
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ let
--ln-path '${cfg.ln-path}' \ --ln-path '${cfg.ln-path}' \
--host ${cfg.host} \ --host ${cfg.host} \
--config '${config.nix-bitcoin.secretsDir}/spark-wallet-login' \ --config '${config.nix-bitcoin.secretsDir}/spark-wallet-login' \
${torRateProvider} \ ${optionalString cfg.enforceTor torRateProvider} \
$publicURL \ $publicURL \
--pairing-qr --print-key ${cfg.extraArgs} --pairing-qr --print-key ${cfg.extraArgs}
''; '';