From cbc3e13e285f53377fb1dc7a76bbba0681481ecd Mon Sep 17 00:00:00 2001 From: SomberNight Date: Sat, 21 Sep 2019 18:56:13 +0200 Subject: [PATCH] qt: fix export history --- electrum/gui/qt/history_list.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/electrum/gui/qt/history_list.py b/electrum/gui/qt/history_list.py index 308331ca5..502257885 100644 --- a/electrum/gui/qt/history_list.py +++ b/electrum/gui/qt/history_list.py @@ -696,12 +696,7 @@ class HistoryList(MyTreeView, AcceptFileDragDrop): self.parent.show_message(_("Your wallet history has been successfully exported.")) def do_export_history(self, file_name, is_csv): - # FIXME this is currently broken. - hist = self.wallet.get_full_history(domain=self.hm.get_domain(), - from_timestamp=None, - to_timestamp=None, - fx=self.parent.fx, - show_fees=True) + hist = self.wallet.get_detailed_history(fx=self.parent.fx) txns = hist['transactions'] lines = [] if is_csv: @@ -709,7 +704,7 @@ class HistoryList(MyTreeView, AcceptFileDragDrop): lines.append([item['txid'], item.get('label', ''), item['confirmations'], - item['value'], + item['bc_value'], item.get('fiat_value', ''), item.get('fee', ''), item.get('fiat_fee', ''),