tfix redeemPubKey for imported keys (fixes issue #350) - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 4714160f17166b5d42509460a5e9490d48f549c8 DIR parent a6e035771187f0694951cdc821569e4ac240814c HTML Author: ThomasV <thomasv@gitorious> Date: Sat, 2 Nov 2013 13:00:10 +0100 fix redeemPubKey for imported keys (fixes issue #350) Diffstat: M lib/wallet.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -716,6 +716,8 @@ class Wallet: for sec in private_keys: pubkey = public_key_from_private_key(sec) keypairs[ pubkey ] = sec + if address in self.imported_keys.keys(): + txin['redeemPubkey'] = pubkey def add_keypairs_from_KeyID(self, tx, keypairs, password):