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:21:28 +01:00
parent 6903e8afcc
commit 8b053326cc
8 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ let
${lib.concatMapStrings (rpcallowip: "rpcallowip=${rpcallowip}\n") cfg.rpcallowip}
${optionalString (cfg.rpcuser != null) "rpcuser=${cfg.rpcuser}"}
${optionalString (cfg.rpcpassword != null) "rpcpassword=${cfg.rpcpassword}"}
mainchainrpchost=${builtins.elemAt config.services.bitcoind.rpcbind 0}
mainchainrpchost=${config.services.bitcoind.rpcbind}
mainchainrpcport=${toString config.services.bitcoind.rpc.port}
mainchainrpcuser=${config.services.bitcoind.rpc.users.public.name}