We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cb8dca commit cf39560Copy full SHA for cf39560
1 file changed
app/parser.py
@@ -51,7 +51,7 @@ async def parse_outputs(transaction_data: dict[str, Any]):
51
"shortcut": transaction_data["txid"] + ":" + str(vout["n"]),
52
"blockhash": transaction_data.get("blockhash"),
53
"txid": transaction_data["txid"],
54
- "address": spk["addresses"][0],
+ "address": spk["address"],
55
"timelock": timelock,
56
"currency": currency,
57
"type": spk["type"],
@@ -106,6 +106,9 @@ async def build_movements(
106
107
for transaction_result in input_transactions_result:
108
transaction_data = transaction_result["result"]
109
+ if transaction_data is None:
110
+ continue
111
+
112
vin_vouts = await parse_outputs(transaction_data)
113
114
for vout in vin_vouts:
0 commit comments