electrum

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

commit e18573dda0b44d6b210610672840041df9fc59d1
parent 0063edb61b302b7d87c35f20f9d3706229fa1d87
Author: ThomasV <thomasv@gitorious>
Date:   Sat, 21 Dec 2013 17:57:42 +0100

test is_mine in add_keypairs_from_wallet

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

diff --git a/lib/wallet.py b/lib/wallet.py @@ -741,6 +741,8 @@ class Wallet: def add_keypairs_from_wallet(self, tx, keypairs, password): for txin in tx.inputs: address = txin['address'] + if not self.is_mine(address): + continue private_keys = self.get_private_key(address, password) for sec in private_keys: pubkey = public_key_from_private_key(sec)