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