Fix cln rpc path for btcpayserver on regtest

This commit is contained in:
Alekos Filini 2022-06-03 23:39:36 +02:00
parent 32d2ded412
commit 961192313c
No known key found for this signature in database
GPG Key ID: 431401E4A4530061
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}