connector
This commit is contained in:
parent
b8544e8c5a
commit
6a7021533c
@ -245,7 +245,7 @@ class Worker:
|
||||
inp = block["rawTx"][z]["vIn"][i]
|
||||
outpoint = b"".join((inp["txId"], int_to_bytes(inp["vOut"])))
|
||||
try:
|
||||
r = self.coins[outpoint]
|
||||
r = self.coins(outpoint)[1]
|
||||
block["rawTx"][z]["vIn"][i]["_c_"] = r
|
||||
t += 1
|
||||
self.destroyed_coins[r[0]] = True
|
||||
@ -268,7 +268,7 @@ class Worker:
|
||||
for i in blocks[x]["rawTx"][y]["vOut"]:
|
||||
try:
|
||||
pointer = (x << 42) + (y << 21) + i
|
||||
blocks[x]["rawTx"][y]["vOut"][i]["_s_"] = self.destroyed_coins.delete(pointer)
|
||||
blocks[x]["rawTx"][y]["vOut"][i]["_s_"] = self.destroyed_coins.delete(pointer)[1]
|
||||
except: pass
|
||||
|
||||
blocks[x] = pickle.dumps(blocks[x])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user