mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-11-09 17:36:14 +03:00
Merge commit 'c6863fd92bfaf2838117a38656b0ac0d47d1e970' into checkpoint/main_from_release_1.8.1_c6863fd92bfaf2838117a38656b0ac0d47d1e970
This commit is contained in:
commit
e76d9c56e6
@ -2207,8 +2207,9 @@ class FullNode:
|
||||
return MempoolInclusionStatus.FAILED, Err.ALREADY_INCLUDING_TRANSACTION
|
||||
self.mempool_manager.add_and_maybe_pop_seen(spend_name)
|
||||
self.log.debug(f"Processing transaction: {spend_name}")
|
||||
# Ignore if syncing
|
||||
if self.sync_store.get_sync_mode():
|
||||
# Ignore if syncing or if we have not yet received a block
|
||||
# the mempool must have a peak to validate transactions
|
||||
if self.sync_store.get_sync_mode() or self.mempool_manager.peak is None:
|
||||
status = MempoolInclusionStatus.FAILED
|
||||
error: Optional[Err] = Err.NO_TRANSACTIONS_WHILE_SYNCING
|
||||
self.mempool_manager.remove_seen(spend_name)
|
||||
|
Loading…
Reference in New Issue
Block a user