mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-30 23:02:15 +00:00
Don't recalculate fast catchup time to avoid hitting an assert.
This commit is contained in:
parent
6a96b0c392
commit
fd941fe46a
@ -418,6 +418,8 @@ public class PeerGroup {
|
||||
}
|
||||
|
||||
private synchronized void recalculateFastCatchupTime() {
|
||||
// Fully verifying mode doesn't use this optimization (it can't as it needs to see all transactions).
|
||||
if (chain.shouldVerifyTransactions()) return;
|
||||
long earliestKeyTime = Long.MAX_VALUE;
|
||||
for (Wallet w : wallets) {
|
||||
earliestKeyTime = Math.min(earliestKeyTime, w.getEarliestKeyCreationTime());
|
||||
|
Loading…
Reference in New Issue
Block a user