connector

This commit is contained in:
4tochka 2019-05-17 15:07:38 +04:00
parent 5c68f0295a
commit 2d025c661c

View File

@ -248,7 +248,11 @@ class Worker:
outpoint = b"".join((inp["txId"], int_to_bytes(inp["vOut"])))
try:
r = self.coins.delete(outpoint)
block["rawTx"][z]["vIn"][i]["_c_"] = r
h = r[0] >> 42
if h >= start_height and h < height:
block["rawTx"][z]["vIn"][i]["_c_"] = r
else:
block["rawTx"][z]["vIn"][i]["_c_"] = r
t += 1
self.destroyed_coins[r[0]] = True
except: