diff --git a/lib/wallet.py b/lib/wallet.py index 731a8980a..832439ab4 100644 --- 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]))