electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit fef1ddd4162df482f5652c760f955d5c973381ab
parent 7b18c91b74bbebfe56ba547080ab29775e42feb2
Author: SomberNight <somber.night@protonmail.com>
Date:   Fri,  8 Nov 2019 13:43:12 +0100

wallet: fix #5748

Diffstat:
Melectrum/wallet.py | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/electrum/wallet.py b/electrum/wallet.py @@ -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]: