fix: remove test logging
All checks were successful
Build Docker / Build Image (push) Successful in 3m36s
All checks were successful
Build Docker / Build Image (push) Successful in 3m36s
This commit is contained in:
@@ -96,8 +96,6 @@ def transactions(txs):
|
||||
if len(txs) == 0:
|
||||
return '<tr><td colspan="5">No transactions found</td></tr>'
|
||||
html = ''
|
||||
|
||||
test = "1de69f8138513fd8d9f1b3a8285b06e4b94f74b919b123f5da37beb164bb1688"
|
||||
for tx in txs:
|
||||
action = "HNS Transfer"
|
||||
address = tx["outputs"][0]["address"]
|
||||
@@ -108,18 +106,11 @@ def transactions(txs):
|
||||
isMulti = False
|
||||
nameHashes = []
|
||||
|
||||
if tx["hash"] == test:
|
||||
with open("test.json", "w") as f:
|
||||
json.dump(tx, f, indent=4)
|
||||
|
||||
for txInput in tx["inputs"]:
|
||||
if txInput["path"]:
|
||||
incomming = False
|
||||
amount -= txInput["value"]
|
||||
|
||||
if tx["hash"] == test:
|
||||
print(f"TEXT TX INPUT VALUE: {amount}")
|
||||
|
||||
for output in tx["outputs"]:
|
||||
if output["covenant"]["action"] != "NONE":
|
||||
if action == "HNS Transfer":
|
||||
|
||||
Reference in New Issue
Block a user