From 0aa58b137b54b383e2cb6e2666deae9949f13e5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20F=C3=BCrderer?= Date: Sun, 22 Mar 2026 17:47:42 +0100 Subject: [PATCH] Fix a bug that prevented the blockchain to sync Blocks with reveal transactions that were loaded from disk could not be distributed to other nodes before. This prevented new nodes with an old blockchain state from synchronizing the blockchain. This bug has now been fixed. --- blockchain.py | 1 + 1 file changed, 1 insertion(+) diff --git a/blockchain.py b/blockchain.py index 4e9e942..7cddf74 100644 --- a/blockchain.py +++ b/blockchain.py @@ -515,6 +515,7 @@ class Blockchain: block_obj = self.add_block(block, associated_data) if not block_obj.validate(self): break + self.cache_associated_data(block_obj.transaction) last_valid = block_obj except FileNotFoundError: pass