liquid: remove insecure and redundant option 'rpcpassword'

This commit is contained in:
Erik Arvstedt 2021-01-14 13:24:31 +01:00
parent 757a66b9bd
commit 352fc4e8fe
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
1 changed files with 0 additions and 6 deletions

View File

@ -31,7 +31,6 @@ let
rpcconnect=${cfg.rpc.address}
${lib.concatMapStrings (rpcallowip: "rpcallowip=${rpcallowip}\n") cfg.rpcallowip}
rpcuser=${cfg.rpcuser}
${optionalString (cfg.rpcpassword != null) "rpcpassword=${cfg.rpcpassword}"}
mainchainrpchost=${config.services.bitcoind.rpc.address}
mainchainrpcport=${toString config.services.bitcoind.rpc.port}
mainchainrpcuser=${config.services.bitcoind.rpc.users.public.name}
@ -142,11 +141,6 @@ in {
default = "liquidrpc";
description = "Username for JSON-RPC connections";
};
rpcpassword = mkOption {
type = types.nullOr types.str;
default = null;
description = "Password for JSON-RPC connections";
};
testnet = mkOption {
type = types.bool;
default = false;