connector

This commit is contained in:
4tochka 2019-05-12 22:05:46 +04:00
parent 067ae2da8f
commit b8544e8c5a

View File

@ -245,7 +245,7 @@ class Worker:
inp = block["rawTx"][z]["vIn"][i] inp = block["rawTx"][z]["vIn"][i]
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[outpoint]
block["rawTx"][z]["vIn"][i]["_c_"] = r block["rawTx"][z]["vIn"][i]["_c_"] = r
t += 1 t += 1
self.destroyed_coins[r[0]] = True self.destroyed_coins[r[0]] = True