mirror of
https://github.com/Qortal/qortal.git
synced 2025-04-30 06:47:50 +00:00
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:
parent
eb876e12c8
commit
9a1941fac4
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user