From 6fe19db233ae65ba1177ffb9af9df9f22843a9ea Mon Sep 17 00:00:00 2001 From: chimp1984 Date: Sun, 27 Dec 2020 23:38:17 -0500 Subject: [PATCH] Only check for downGrade if we are on mainnet Its a bit annoying for dev testing when switching between release and master... --- core/src/main/java/bisq/core/app/BisqSetup.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/bisq/core/app/BisqSetup.java b/core/src/main/java/bisq/core/app/BisqSetup.java index 9b2d2300303..769cdcf4486 100644 --- a/core/src/main/java/bisq/core/app/BisqSetup.java +++ b/core/src/main/java/bisq/core/app/BisqSetup.java @@ -51,6 +51,7 @@ import bisq.common.app.DevEnv; import bisq.common.app.Log; import bisq.common.app.Version; +import bisq.common.config.BaseCurrencyNetwork; import bisq.common.config.Config; import bisq.common.util.InvalidVersionException; import bisq.common.util.Utilities; @@ -273,7 +274,8 @@ public void addBisqSetupListener(BisqSetupListener listener) { public void start() { // If user tried to downgrade we require a shutdown - if (hasDowngraded(downGradePreventionHandler)) { + if (Config.baseCurrencyNetwork() == BaseCurrencyNetwork.BTC_MAINNET && + hasDowngraded(downGradePreventionHandler)) { return; }