Ensure online accounts are computed in recovery mode

Without this, no recovery blocks are minted, because no online accounts are available.
This commit is contained in:
CalDescent 2022-04-01 18:32:51 +01:00
parent eb876e12c8
commit 9a1941fac4

View File

@ -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 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; return;
} }