diff --git a/electrum/commands.py b/electrum/commands.py index e70b66e35..77838f22e 100644 --- a/electrum/commands.py +++ b/electrum/commands.py @@ -773,8 +773,7 @@ class Commands: kwargs['to_timestamp'] = time.mktime(end_date.timetuple()) if show_fiat: from .exchange_rate import FxThread - fx = FxThread(config=self.config) - kwargs['fx'] = fx + kwargs['fx'] = self.daemon.fx if self.daemon else FxThread(config=self.config) return json_normalize(wallet.get_detailed_history(**kwargs))