Skip to content

Commit c42d6c1

Browse files
committed
Remove start-up protection
Since this branch is only used on regtest, this will make it easier to test and iterate.
1 parent 8ce57f6 commit c42d6c1

File tree

1 file changed

+0
-4
lines changed
  • eclair-node/src/main/scala/fr/acinq/eclair

1 file changed

+0
-4
lines changed

eclair-node/src/main/scala/fr/acinq/eclair/Boot.scala

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ import scala.util.{Failure, Success}
3333
*/
3434
object Boot extends App with Logging {
3535
try {
36-
if (!System.getProperty("eclair.allow-unsafe-startup", "false").toBooleanOption.contains(true)) {
37-
throw new RuntimeException("This version of eclair is unsafe to use: please wait for the next official release to update your node.")
38-
}
39-
4036
val datadir = new File(System.getProperty("eclair.datadir", System.getProperty("user.home") + "/.eclair"))
4137
val config = NodeParams.loadConfiguration(datadir)
4238

0 commit comments

Comments
 (0)