commit 8ab652929854de6df7c96682f1818daaac9180ec
parent 1cf453587e91bc9361e2e669d82d53079606b10f
Author: thomasv <thomasv@gitorious>
Date: Wed, 4 Sep 2013 17:46:13 +0200
fix: first_addresses
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -428,7 +428,10 @@ class Wallet:
o = self.get_account_addresses(-1, include_change)
for a in self.accounts.keys():
o += self.get_account_addresses(a, include_change)
- o += self.first_addresses.values()
+
+ for addr in self.first_addresses.values():
+ if addr not in o:
+ o += addr
return o