connector
This commit is contained in:
parent
52bdced866
commit
24a8fda01f
@ -178,8 +178,8 @@ class BlockLoader:
|
||||
for i in blocks:
|
||||
self.parent.block_preload.set(i, blocks[i])
|
||||
if blocks:
|
||||
last_tx = blocks[i]["tx"][len(blocks[i]["tx"]) - 1]
|
||||
pointer = (i << 42) + ((len(blocks[i]["tx"]) - 1) << 21) + (en(last_tx["vOut"]) - 1)
|
||||
last_tx = blocks[i]["rawTx"][len(blocks[i]["rawTx"]) - 1]
|
||||
pointer = (i << 42) + ((len(blocks[i]["rawTx"]) - 1) << 21) + (en(last_tx["vOut"]) - 1)
|
||||
self.parent.checkpoints.append(pointer)
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user