1
0

exchange_rate: FxThread does not need network

This commit is contained in:
SomberNight
2023-03-28 15:45:15 +00:00
parent f4e66810e7
commit 512b63c424
3 changed files with 5 additions and 6 deletions

View File

@@ -771,7 +771,7 @@ class Commands:
kwargs['to_timestamp'] = time.mktime(end_date.timetuple())
if show_fiat:
from .exchange_rate import FxThread
fx = FxThread(self.config, None)
fx = FxThread(config=self.config)
kwargs['fx'] = fx
return json_normalize(wallet.get_detailed_history(**kwargs))