mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 17:55:20 +00:00
wallet: fix #5748
This commit is contained in:
parent
7b18c91b74
commit
fef1ddd416
1 changed files with 2 additions and 0 deletions
|
@ -422,6 +422,8 @@ class Abstract_Wallet(AddressSynchronizer):
|
||||||
if txin_type == 'p2wpkh-p2sh':
|
if txin_type == 'p2wpkh-p2sh':
|
||||||
pubkey = self.get_public_key(address)
|
pubkey = self.get_public_key(address)
|
||||||
return bitcoin.p2wpkh_nested_script(pubkey)
|
return bitcoin.p2wpkh_nested_script(pubkey)
|
||||||
|
if txin_type == 'address':
|
||||||
|
return None
|
||||||
raise UnknownTxinType(f'unexpected txin_type {txin_type}')
|
raise UnknownTxinType(f'unexpected txin_type {txin_type}')
|
||||||
|
|
||||||
def get_witness_script(self, address: str) -> Optional[str]:
|
def get_witness_script(self, address: str) -> Optional[str]:
|
||||||
|
|
Loading…
Add table
Reference in a new issue