git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
75cac66
)
do not return history if offline
author
ThomasV
<thomasv@gitorious>
Tue, 5 Nov 2013 18:18:23 +0000 (19:18 +0100)
committer
ThomasV
<thomasv@gitorious>
Tue, 5 Nov 2013 18:18:23 +0000 (19:18 +0100)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
731a898
..
832439a
100644
(file)
--- a/
lib/wallet.py
+++ b/
lib/wallet.py
@@
-1256,6
+1256,9
@@
class Wallet:
def get_tx_history(self, account=None):
+ if not self.verifier:
+ return []
+
with self.transaction_lock:
history = self.transactions.items()
history.sort(key = lambda x: self.verifier.get_txpos(x[0]))