diff --git a/lib/wallet.py b/lib/wallet.py index 3af7e9a7f..36b3cece6 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -708,6 +708,7 @@ class Abstract_Wallet(object): def get_history(self, domain=None): + from collections import defaultdict # get domain if domain is None: domain = self.get_account_addresses(None)