connector

This commit is contained in:
4tochka 2019-05-09 17:51:15 +04:00
parent a2691355fc
commit 6aa9033722
2 changed files with 1 additions and 6 deletions

View File

@ -253,12 +253,6 @@ class Worker:
blocks[x]["rawTx"][y]["vOut"][i]["_s_"] = self.destroyed_coins[pointer]
except: pass
for i in blocks[x]["rawTx"][y]["vIn"]:
try:
self.log.critical(str(blocks[x]["rawTx"][y]["vIn"][i]["_c_"]))
except Exception as err:
self.log.critical(str(err))
blocks[x] = pickle.dumps(blocks[x])
self.pipe_sent_msg(b'result', pickle.dumps(blocks))

View File

@ -593,6 +593,7 @@ class Connector:
stxo, missed = set(), set()
for i in tx["vIn"]:
inp = tx["vIn"][i]
self.log.critical(">>> " + str(inp["_c_"]))
outpoint = b"".join((inp["txId"], int_to_bytes(inp["vOut"])))
try:
stxo.add(outpoint, tx["vIn"][i]["_c_"])