1
0
This commit is contained in:
SomberNight
2019-11-08 13:43:12 +01:00
parent 7b18c91b74
commit fef1ddd416

View File

@@ -422,6 +422,8 @@ class Abstract_Wallet(AddressSynchronizer):
if txin_type == 'p2wpkh-p2sh':
pubkey = self.get_public_key(address)
return bitcoin.p2wpkh_nested_script(pubkey)
if txin_type == 'address':
return None
raise UnknownTxinType(f'unexpected txin_type {txin_type}')
def get_witness_script(self, address: str) -> Optional[str]: