Skip to content

Commit 2b6d564

Browse files
Expose eclair datadir to plugins (#1837)
Make `Setup.datadir` visible to code that receives an instance of `Setup`. This allows plugin to know where the eclair data directory is and potentially enrich it.
1 parent dbecb28 commit 2b6d564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eclair-core/src/main/scala/fr/acinq/eclair/Setup.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ import scala.util.{Failure, Success}
6767
* @param seeds_opt optional seeds, if set eclair will use them instead of generating them and won't create a node_seed.dat and channel_seed.dat files.
6868
* @param db optional databases to use, if not set eclair will create the necessary databases
6969
*/
70-
class Setup(datadir: File,
70+
class Setup(val datadir: File,
7171
pluginParams: Seq[PluginParams],
7272
seeds_opt: Option[Seeds] = None,
7373
db: Option[Databases] = None)(implicit system: ActorSystem) extends Logging {

0 commit comments

Comments
 (0)