Merge fort-nix/nix-bitcoin#494: Fix cln rpc path for btcpayserver on regtest

961192313c Fix cln rpc path for btcpayserver on regtest (Alekos Filini)

Pull request description:

ACKs for top commit:
  jonasnick:
    utACK 961192313c

Tree-SHA512: 4aaf4e04b99bbda006cc4c267773456552cd3478028a336295810e5c776138fbb2798a39ba6c7c51b70f976b5a8f4f93bdc9f8ff15682c6eca604f47adb8ecae
This commit is contained in:
Jonas Nick 2022-06-04 07:54:36 +00:00
commit 9a860738ee
No known key found for this signature in database
GPG Key ID: 4861DBF262123605
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ in {
'' + optionalString (cfg.btcpayserver.rootpath != null) ''
rootpath=${cfg.btcpayserver.rootpath}
'' + optionalString (cfg.btcpayserver.lightningBackend == "clightning") ''
btclightning=type=clightning;server=unix:///${cfg.clightning.dataDir}/bitcoin/lightning-rpc
btclightning=type=clightning;server=unix:///${cfg.clightning.dataDir}/${bitcoind.makeNetworkName "bitcoin" "regtest"}/lightning-rpc
'' + optionalString cfg.btcpayserver.lbtc ''
chains=btc,lbtc
lbtcexplorerurl=${nbExplorerUrl}