Browse Source

Merge pull request #2859 from SomberNight/details_of_p2pk_coinbase

fixes #2858
seed_v14
ThomasV 7 years ago
committed by GitHub
parent
commit
95d94dcdd1
  1. 2
      lib/transaction.py

2
lib/transaction.py

@ -591,6 +591,8 @@ class Transaction:
return addr
elif output_type == TYPE_ADDRESS:
return bitcoin.address_to_script(addr)
elif output_type == TYPE_PUBKEY:
return addr
else:
raise TypeError('Unknown output type')
return script

Loading…
Cancel
Save