electrum

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

commit 34a786ee433960fc3b33af3e82ca80656a540f21
parent 23bcda47b12fdf16c35c278a9422fc5c67ab2b1d
Author: ThomasV <thomasv@electrum.org>
Date:   Thu,  5 Oct 2017 09:44:37 +0200

fix export_private_key of Imported_Wallet

Diffstat:
Mlib/wallet.py | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/wallet.py b/lib/wallet.py @@ -1455,7 +1455,9 @@ class Imported_Wallet(Abstract_Wallet): return addr def export_private_key(self, address, password): - txin_type, pubkey, redeem_script = self.addresses[address] + d = self.addresses[address] + pubkey = d['pubkey'] + redeem_script = d['redeem_script'] sec = pw_decode(self.keystore.keypairs[pubkey], password) return sec, redeem_script