commit 339dd46d98b45981c293ca5d4a0dfb1ec1066d48
parent e9968e4a393c59b467a6a7aa0ea2131981754a73
Author: ThomasV <thomasv@gitorious>
Date: Sun, 4 May 2014 13:54:53 +0200
return imported addresses as sorted
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/account.py b/lib/account.py
@@ -71,7 +71,9 @@ class PendingAccount(Account):
class ImportedAccount(Account):
def __init__(self, d):
self.addresses = d.keys()
- self.change = []
+
+ def get_addresses(self, for_change):
+ return [] if for_change else sorted(self.addresses[:])
def has_change(self):
return False