Skip to content

Commit

Permalink
Expose eclair datadir to plugins (#1837)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
akumaigorodski authored Jun 7, 2021
1 parent dbecb28 commit 2b6d564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclair-core/src/main/scala/fr/acinq/eclair/Setup.scala
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ import scala.util.{Failure, Success}
* @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.
* @param db optional databases to use, if not set eclair will create the necessary databases
*/
class Setup(datadir: File,
class Setup(val datadir: File,
pluginParams: Seq[PluginParams],
seeds_opt: Option[Seeds] = None,
db: Option[Databases] = None)(implicit system: ActorSystem) extends Logging {
Expand Down

0 comments on commit 2b6d564

Please sign in to comment.