tcreate default label only if the output is not mine - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 3fedcc8824d3d20458c066e14cf79e03e86e9955 DIR parent 952da14be4a9433011b4496d9159f2423afa02e6 HTML Author: ThomasV <thomasv@gitorious> Date: Sun, 10 Jun 2012 11:37:11 +0200 create default label only if the output is not mine Diffstat: M lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -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