mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +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
|
return addr
|
||||||
elif output_type == TYPE_ADDRESS:
|
elif output_type == TYPE_ADDRESS:
|
||||||
return bitcoin.address_to_script(addr)
|
return bitcoin.address_to_script(addr)
|
||||||
|
elif output_type == TYPE_PUBKEY:
|
||||||
|
return addr
|
||||||
else:
|
else:
|
||||||
raise TypeError('Unknown output type')
|
raise TypeError('Unknown output type')
|
||||||
return script
|
return script
|
||||||
|
|
Loading…
Add table
Reference in a new issue