electrum

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

commit 3fedcc8824d3d20458c066e14cf79e03e86e9955
parent 952da14be4a9433011b4496d9159f2423afa02e6
Author: ThomasV <thomasv@gitorious>
Date:   Sun, 10 Jun 2012 11:37:11 +0200

create default label only if the output is not mine

Diffstat:
Mlib/wallet.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/wallet.py b/lib/wallet.py @@ -835,7 +835,7 @@ class Wallet: default_label = '' if tx['value']<0: for o_addr in tx['outputs']: - if not self.is_change(o_addr): + if not self.is_mine(o_addr): dest_label = self.labels.get(o_addr) if dest_label: default_label = 'to: ' + dest_label