connector
This commit is contained in:
parent
14edc4e8d8
commit
78742525f8
@ -248,10 +248,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)
|
||||||
h = r[0] >> 42
|
|
||||||
if h >= start_height and h < height:
|
|
||||||
block["rawTx"][z]["vIn"][i]["_a_"] = r
|
|
||||||
else:
|
|
||||||
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
|
||||||
|
|||||||
@ -621,15 +621,15 @@ class Connector:
|
|||||||
c += 1
|
c += 1
|
||||||
self.yy += 1
|
self.yy += 1
|
||||||
except:
|
except:
|
||||||
try:
|
# try:
|
||||||
tx["vIn"][i]["coin"] = inp["_a_"]
|
# tx["vIn"][i]["coin"] = inp["_a_"]
|
||||||
c += 1
|
# c += 1
|
||||||
self.aa += 1
|
# self.aa += 1
|
||||||
try:
|
# try:
|
||||||
self.utxo.get(outpoint)
|
# self.utxo.get(outpoint)
|
||||||
except:
|
# except:
|
||||||
self.utxo.deleted.add(outpoint)
|
# self.utxo.deleted.add(outpoint)
|
||||||
except:
|
# except:
|
||||||
r = self.utxo.get(outpoint)
|
r = self.utxo.get(outpoint)
|
||||||
if r:
|
if r:
|
||||||
tx["vIn"][i]["coin"] = r
|
tx["vIn"][i]["coin"] = r
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user