From 5b38e5b83b6f40de352228ec51d787fa7849a603 Mon Sep 17 00:00:00 2001 From: HenrikJannsen Date: Tue, 27 Dec 2022 18:40:38 -0500 Subject: [PATCH] Allow to set fullNode if isBmFullNode and rpcDataSet is true even if BurningManService.isActivated() is false. This allows us to run the seed nodes already in BM mode before activation Signed-off-by: HenrikJannsen --- .../burningman/accounting/node/AccountingNodeProvider.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/bisq/core/dao/burningman/accounting/node/AccountingNodeProvider.java b/core/src/main/java/bisq/core/dao/burningman/accounting/node/AccountingNodeProvider.java index 0022aa7b77..9efff49e2c 100644 --- a/core/src/main/java/bisq/core/dao/burningman/accounting/node/AccountingNodeProvider.java +++ b/core/src/main/java/bisq/core/dao/burningman/accounting/node/AccountingNodeProvider.java @@ -48,10 +48,10 @@ public class AccountingNodeProvider { && preferences.getRpcPw() != null && !preferences.getRpcPw().isEmpty() && preferences.getBlockNotifyPort() > 0; - if (BurningManService.isActivated()) { - accountingNode = isBmFullNode && rpcDataSet ? fullNode : liteNode; + if (isBmFullNode && rpcDataSet) { + accountingNode = fullNode; } else { - accountingNode = inActiveAccountingNode; + accountingNode = BurningManService.isActivated() ? liteNode : inActiveAccountingNode; } } }