X-Git-Url: https://git.novaco.in/?p=electrum-server.git;a=blobdiff_plain;f=backends%2Fbitcoind%2Fblockchain_processor.py;h=1de5db643846ef92787611e26d132e483f78c53d;hp=cf5f60964b244eb82c52e53ad5c91e147677cdbb;hb=dec881f99cdda62dfe0459d55a2be129ba491bae;hpb=fdf26dcd063af1cc68adcaf278c7d0180296d6c5 diff --git a/backends/bitcoind/blockchain_processor.py b/backends/bitcoind/blockchain_processor.py index cf5f609..1de5db6 100644 --- a/backends/bitcoind/blockchain_processor.py +++ b/backends/bitcoind/blockchain_processor.py @@ -640,7 +640,10 @@ class BlockchainProcessor(Processor): self.mtimes['import'] = 0 if prh: - assert prh == self.storage.get_root_hash().encode('hex') + if prh != self.storage.get_root_hash().encode('hex'): + print_log("root hash error", prh) + self.shared.stop() + raise prh = None else: