git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e9968e4
)
return imported addresses as sorted
author
ThomasV
<thomasv@gitorious>
Sun, 4 May 2014 11:54:53 +0000 (13:54 +0200)
committer
ThomasV
<thomasv@gitorious>
Sun, 4 May 2014 11:54:53 +0000 (13:54 +0200)
lib/account.py
patch
|
blob
|
history
diff --git
a/lib/account.py
b/lib/account.py
index
9fcad51
..
e2cb682
100644
(file)
--- 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