electrum

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

commit 4714160f17166b5d42509460a5e9490d48f549c8
parent a6e035771187f0694951cdc821569e4ac240814c
Author: ThomasV <thomasv@gitorious>
Date:   Sat,  2 Nov 2013 13:00:10 +0100

fix redeemPubKey for imported keys (fixes issue #350)

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

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