Skip to content

Commit

Permalink
nakamoto: point the root dir inside the cln dir
Browse files Browse the repository at this point in the history
Nakamoto takes a root path were it store informations, this
commit we add the nakamoto directory inside the lightning directory.

Signed-off-by: Vincenzo Palazzo <[email protected]>
  • Loading branch information
vincenzopalazzo committed Dec 29, 2023
1 parent 0994c62 commit 03fdcd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions folgore-plugin/src/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ impl PluginState {
BackendKind::Nakamoto => {
let config = Config {
network: Network::from_str(&conf.network).map_err(|err| error!("{err}"))?,
root: conf.lightning_dir.clone().into(),
..Default::default()
};
let client = Esplora::new(
Expand Down

0 comments on commit 03fdcd0

Please sign in to comment.