From 9a1941fac4dbd867109553060bbc4d052da4a46b Mon Sep 17 00:00:00 2001 From: CalDescent Date: Fri, 1 Apr 2022 18:32:51 +0100 Subject: [PATCH] Ensure online accounts are computed in recovery mode Without this, no recovery blocks are minted, because no online accounts are available. --- src/main/java/org/qortal/controller/OnlineAccountsManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/qortal/controller/OnlineAccountsManager.java b/src/main/java/org/qortal/controller/OnlineAccountsManager.java index afc8e97e..4a6ff85b 100644 --- a/src/main/java/org/qortal/controller/OnlineAccountsManager.java +++ b/src/main/java/org/qortal/controller/OnlineAccountsManager.java @@ -308,7 +308,8 @@ public class OnlineAccountsManager extends Thread { } // If we're not up-to-date, then there's no point in computing anything yet - if (!Controller.getInstance().isUpToDate()) { + // The exception being when we are in recovery mode, in which case we need some online accounts! + if (!Controller.getInstance().isUpToDate() && !Synchronizer.getInstance().getRecoveryMode()) { return; }