connector

This commit is contained in:
4tochka 2019-05-29 16:45:09 +04:00
parent c5e67bee65
commit 382d55cb18

View File

@ -187,7 +187,10 @@ class BlockLoader:
for i in blocks:
self.parent.block_preload.set(i, blocks[i])
if blocks:
if self.parent.utxo.checkpoints[-1] < i:
if self.parent.utxo.checkpoints:
if self.parent.utxo.checkpoints[-1] < i:
self.parent.utxo.checkpoints.append(i)
else:
self.parent.utxo.checkpoints.append(i)