Skip to content

Commit

Permalink
Merge branch 'fix/mpma_3_destinations' of https://github.com/longhoan…
Browse files Browse the repository at this point in the history
  • Loading branch information
chiguireitor committed Jan 17, 2021
2 parents 50db643 + 988b407 commit d822436
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion counterpartylib/lib/backend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ def pubkeyhash_to_pubkey(pubkeyhash, provided_pubkeys=None):

# Search blockchain.
raw_transactions = search_raw_transactions(pubkeyhash, unconfirmed=True)
for tx in raw_transactions:
for tx_id in raw_transactions:
tx = raw_transactions[tx_id]
for vin in tx['vin']:
if 'txinwitness' in vin:
if len(vin['txinwitness']) >= 2:
Expand Down

0 comments on commit d822436

Please sign in to comment.