mirror of
https://github.com/Qortal/qortal.git
synced 2025-03-13 11:12:31 +00:00
Allow online account submission in all cases when in recovery mode.
This commit is contained in:
parent
899a6eb104
commit
b00e1c8f47
@ -286,9 +286,9 @@ public class OnlineAccountsManager extends Thread {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Don't submit if we're more than 2 hours out of sync
|
// Don't submit if we're more than 2 hours out of sync (unless we're in recovery mode)
|
||||||
final Long minLatestBlockTimestamp = now - (2 * 60 * 60 * 1000L);
|
final Long minLatestBlockTimestamp = now - (2 * 60 * 60 * 1000L);
|
||||||
if (!Controller.getInstance().isUpToDate(minLatestBlockTimestamp)) {
|
if (!Controller.getInstance().isUpToDate(minLatestBlockTimestamp) && !Synchronizer.getInstance().getRecoveryMode()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user