connector

This commit is contained in:
4tochka 2019-05-16 16:53:58 +03:00
parent e74267a1b3
commit 8cc5b24ee9

View File

@ -247,11 +247,12 @@ class Worker:
outpoint = b"".join((inp["txId"], int_to_bytes(inp["vOut"])))
try:
r = self.coins.delete(outpoint)
self.log.critical(str(r))
block["rawTx"][z]["vIn"][i]["_c_"] = r
t += 1
self.destroyed_coins[r[0]] = True
except:
self.log.critical(str(traceback.format_exc()))
pass
for i in block["rawTx"][z]["vOut"]:
o = b"".join((block["rawTx"][z]["txId"], int_to_bytes(i)))
pointer = (x << 42) + (z << 21) + i