commit a91de6a236ce6d4398a8df749397f61d28e1e1dd
parent f7200cb6162ba30f4ebd0e94d933f7b7d559cdb2
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 25 Oct 2017 07:29:20 +0200
Merge pull request #3114 from SomberNight/typo_wallet_import_priv_key
typo in wallet.import_private_key()
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -1480,7 +1480,7 @@ class Imported_Wallet(Simple_Wallet):
raise BaseException('Redeem script required for', txin_type, sec)
addr = bitcoin.redeem_script_to_address(txin_type, redeem_script)
else:
- raise NotImplementedError(self.txin_type)
+ raise NotImplementedError(txin_type)
self.addresses[addr] = {'type':txin_type, 'pubkey':pubkey, 'redeem_script':redeem_script}
self.save_keystore()
self.save_addresses()