Fix P2P mempool sync after git merge - restore mempool sync loop task and fix indentation

This commit is contained in:
aitbc
2026-04-09 14:17:31 +02:00
parent ca7da25b9d
commit da05c5f50f

View File

@@ -125,7 +125,7 @@ class P2PNetworkService:
txs_to_broadcast.append(json.loads(row[1]))
logger.debug(f"Mempool sync loop iteration. txs_to_broadcast: {len(txs_to_broadcast)}")
for tx in txs_to_broadcast:
for tx in txs_to_broadcast:
msg = {'type': 'new_transaction', 'tx': tx}
writers = list(self.active_connections.values())
for writer in writers: