bitcoind: use type str for rpcbind
Extra RPC bind addresses can still be added via extraConfig.
This commit is contained in:
parent
6903e8afcc
commit
8b053326cc
8 changed files with 11 additions and 11 deletions
|
|
@ -8,7 +8,7 @@ let
|
|||
secretsDir = config.nix-bitcoin.secretsDir;
|
||||
|
||||
bitcoind = config.services.bitcoind;
|
||||
bitcoindRpcAddress = builtins.elemAt bitcoind.rpcbind 0;
|
||||
bitcoindRpcAddress = bitcoind.rpcbind;
|
||||
onion-chef-service = (if cfg.announce-tor then [ "onion-chef.service" ] else []);
|
||||
networkDir = "${cfg.dataDir}/chain/bitcoin/${bitcoind.network}";
|
||||
configFile = pkgs.writeText "lnd.conf" ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue