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