mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 15:31:31 +00:00
Merge pull request #2859 from SomberNight/details_of_p2pk_coinbase
fixes #2858
This commit is contained in:
commit
95d94dcdd1
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue