Skip to content
Snippets Groups Projects
Commit 232ea444 authored by inso's avatar inso
Browse files

Fix issue : all self to self tx were parsed

parent 0ecd99bb
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ def parse_transaction_doc(tx_doc, pubkey, block_number, mediantime, txid): ...@@ -24,7 +24,7 @@ def parse_transaction_doc(tx_doc, pubkey, block_number, mediantime, txid):
in_outputs = len([o for o in tx_doc.outputs in_outputs = len([o for o in tx_doc.outputs
if o.conditions.left.pubkey == pubkey]) > 0 if o.conditions.left.pubkey == pubkey]) > 0
if len(receivers) == 0: if len(receivers) == 0 and in_issuers:
receivers = [tx_doc.issuers[0]] receivers = [tx_doc.issuers[0]]
# Transaction to self # Transaction to self
outputs = [o for o in tx_doc.outputs] outputs = [o for o in tx_doc.outputs]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment