netns: consistent var naming
n is used elsewhere in similar contexts.
This commit is contained in:
parent
5a81693ef3
commit
b7fc819be5
@ -210,8 +210,8 @@ in {
|
|||||||
];
|
];
|
||||||
rpcallowip = [
|
rpcallowip = [
|
||||||
"127.0.0.1"
|
"127.0.0.1"
|
||||||
] ++ lib.lists.concatMap (s: [
|
] ++ lib.lists.concatMap (n: [
|
||||||
"${netns.${s}.address}"
|
"${netns.${n}.address}"
|
||||||
]) netns.bitcoind.availableNetns;
|
]) netns.bitcoind.availableNetns;
|
||||||
cli = pkgs.writeScriptBin "bitcoin-cli" ''
|
cli = pkgs.writeScriptBin "bitcoin-cli" ''
|
||||||
netns-exec nb-bitcoind ${config.services.bitcoind.package}/bin/bitcoin-cli -datadir='${config.services.bitcoind.dataDir}' "$@"
|
netns-exec nb-bitcoind ${config.services.bitcoind.package}/bin/bitcoin-cli -datadir='${config.services.bitcoind.dataDir}' "$@"
|
||||||
@ -253,8 +253,8 @@ in {
|
|||||||
];
|
];
|
||||||
rpcallowip = [
|
rpcallowip = [
|
||||||
"127.0.0.1"
|
"127.0.0.1"
|
||||||
] ++ lib.lists.concatMap (s: [
|
] ++ lib.lists.concatMap (n: [
|
||||||
"${netns.${s}.address}"
|
"${netns.${n}.address}"
|
||||||
]) netns.liquidd.availableNetns;
|
]) netns.liquidd.availableNetns;
|
||||||
mainchainrpchost = netns.bitcoind.address;
|
mainchainrpchost = netns.bitcoind.address;
|
||||||
cli = pkgs.writeScriptBin "elements-cli" ''
|
cli = pkgs.writeScriptBin "elements-cli" ''
|
||||||
|
Loading…
Reference in New Issue
Block a user