mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-09-24 07:25:03 -05:00
Early return from olivernyc (#12877)
This commit is contained in:
@@ -1013,6 +1013,12 @@ class WalletNode:
|
||||
if far_behind or len(self.synced_peers) == 0:
|
||||
syncing = True
|
||||
self.wallet_state_manager.set_sync_mode(True)
|
||||
|
||||
if not syncing and not (
|
||||
self._secondary_peer_sync_task is None or self._secondary_peer_sync_task.done()
|
||||
):
|
||||
self.log.info("Will not do secondary sync, there is already another sync task running.")
|
||||
return
|
||||
try:
|
||||
(
|
||||
valid_weight_proof,
|
||||
|
||||
Reference in New Issue
Block a user