bitcoind: use type str for rpcbind

Extra RPC bind addresses can still be added via extraConfig.
This commit is contained in:
Erik Arvstedt 2020-10-29 21:20:32 +01:00
parent 6903e8afcc
commit 8b053326cc
No known key found for this signature in database
GPG key ID: 33312B944DD97846
8 changed files with 11 additions and 11 deletions

View file

@ -20,7 +20,7 @@ let
[BLOCKCHAIN]
blockchain_source = bitcoin-rpc
network = ${bitcoind.network}
rpc_host = ${builtins.elemAt bitcoind.rpcbind 0}
rpc_host = ${bitcoind.rpcbind}
rpc_port = ${toString bitcoind.rpc.port}
rpc_user = ${bitcoind.rpc.users.privileged.name}
@@RPC_PASSWORD@@