diff --git a/BTCPayServer.Tests/docker-compose.altcoins.yml b/BTCPayServer.Tests/docker-compose.altcoins.yml index cc5123238..ef4df5405 100644 --- a/BTCPayServer.Tests/docker-compose.altcoins.yml +++ b/BTCPayServer.Tests/docker-compose.altcoins.yml @@ -12,7 +12,6 @@ services: args: CONFIGURATION_NAME: Release environment: - TESTS_EXPERIMENTALV2_CONFIRM: "true" TESTS_BTCRPCCONNECTION: server=http://bitcoind:43782;ceiwHEbqWI83:DwubwWsoo3 TESTS_LTCRPCCONNECTION: server=http://litecoind:43782;ceiwHEbqWI83:DwubwWsoo3 TESTS_BTCNBXPLORERURL: http://nbxplorer:32838/ diff --git a/BTCPayServer.Tests/docker-compose.yml b/BTCPayServer.Tests/docker-compose.yml index a82b8af91..de52b507e 100644 --- a/BTCPayServer.Tests/docker-compose.yml +++ b/BTCPayServer.Tests/docker-compose.yml @@ -12,7 +12,6 @@ services: args: CONFIGURATION_NAME: Release environment: - TESTS_EXPERIMENTALV2_CONFIRM: "true" TESTS_BTCRPCCONNECTION: server=http://bitcoind:43782;ceiwHEbqWI83:DwubwWsoo3 TESTS_BTCNBXPLORERURL: http://nbxplorer:32838/ TESTS_POSTGRES: User ID=postgres;Include Error Detail=true;Host=postgres;Port=5432;Database=btcpayserver diff --git a/BTCPayServer/Program.cs b/BTCPayServer/Program.cs index 5969d8c2e..a333ea35b 100644 --- a/BTCPayServer/Program.cs +++ b/BTCPayServer/Program.cs @@ -44,13 +44,6 @@ namespace BTCPayServer confBuilder.AddJsonFile("appsettings.dev.json", true, false); #endif conf = confBuilder.Build(); - - - var confirm = conf.GetOrDefault("EXPERIMENTALV2_CONFIRM", false); - if(!confirm) - { - throw new ConfigException("You are running an experimental version of BTCPay Server that is the basis for v2. Many things will change and break, including irreversible database migrations. THERE IS NO WAY BACK. Please confirm you understand this by setting the setting EXPERIMENTALV2_CONFIRM=true"); - } var builder = new WebHostBuilder() .UseKestrel() .UseConfiguration(conf) diff --git a/BTCPayServer/Properties/launchSettings.json b/BTCPayServer/Properties/launchSettings.json index c10ddd4b4..8f591de7e 100644 --- a/BTCPayServer/Properties/launchSettings.json +++ b/BTCPayServer/Properties/launchSettings.json @@ -4,7 +4,6 @@ "commandName": "Project", "launchBrowser": true, "environmentVariables": { - "BTCPAY_EXPERIMENTALV2_CONFIRM": "true", "BTCPAY_NETWORK": "regtest", "BTCPAY_LAUNCHSETTINGS": "true", "BTCPAY_BTCLIGHTNING": "type=clightning;server=tcp://127.0.0.1:30993/", @@ -38,7 +37,6 @@ "commandName": "Project", "launchBrowser": true, "environmentVariables": { - "BTCPAY_EXPERIMENTALV2_CONFIRM": "true", "BTCPAY_NETWORK": "regtest", "BTCPAY_LAUNCHSETTINGS": "true", "BTCPAY_PORT": "14142", @@ -76,7 +74,6 @@ "commandName": "Project", "launchBrowser": true, "environmentVariables": { - "BTCPAY_EXPERIMENTALV2_CONFIRM": "true", "BTCPAY_NETWORK": "regtest", "BTCPAY_LAUNCHSETTINGS": "true", "BTCPAY_PORT": "14142", @@ -117,7 +114,6 @@ "commandName": "Project", "launchBrowser": true, "environmentVariables": { - "BTCPAY_EXPERIMENTALV2_CONFIRM": "true", "BTCPAY_NETWORK": "regtest", "BTCPAY_LAUNCHSETTINGS": "true", "BTCPAY_PORT": "14142",