connector

This commit is contained in:
4tochka 2019-05-01 00:22:07 +04:00
parent 4a91ac3f31
commit 6bf038020f

View File

@ -413,6 +413,8 @@ class Connector:
if "previousblockhash" not in block :
return
lb = self.block_cache.get_last()
self.log.critical(str(lb))
self.log.critical(str(block["previousblockhash"]))
if lb is None and not self.last_block_height:
return
if self.block_cache.get_last() != block["previousblockhash"]: