mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
qt: fix export history
This commit is contained in:
parent
6a32187f01
commit
cbc3e13e28
1 changed files with 2 additions and 7 deletions
|
@ -696,12 +696,7 @@ class HistoryList(MyTreeView, AcceptFileDragDrop):
|
||||||
self.parent.show_message(_("Your wallet history has been successfully exported."))
|
self.parent.show_message(_("Your wallet history has been successfully exported."))
|
||||||
|
|
||||||
def do_export_history(self, file_name, is_csv):
|
def do_export_history(self, file_name, is_csv):
|
||||||
# FIXME this is currently broken.
|
hist = self.wallet.get_detailed_history(fx=self.parent.fx)
|
||||||
hist = self.wallet.get_full_history(domain=self.hm.get_domain(),
|
|
||||||
from_timestamp=None,
|
|
||||||
to_timestamp=None,
|
|
||||||
fx=self.parent.fx,
|
|
||||||
show_fees=True)
|
|
||||||
txns = hist['transactions']
|
txns = hist['transactions']
|
||||||
lines = []
|
lines = []
|
||||||
if is_csv:
|
if is_csv:
|
||||||
|
@ -709,7 +704,7 @@ class HistoryList(MyTreeView, AcceptFileDragDrop):
|
||||||
lines.append([item['txid'],
|
lines.append([item['txid'],
|
||||||
item.get('label', ''),
|
item.get('label', ''),
|
||||||
item['confirmations'],
|
item['confirmations'],
|
||||||
item['value'],
|
item['bc_value'],
|
||||||
item.get('fiat_value', ''),
|
item.get('fiat_value', ''),
|
||||||
item.get('fee', ''),
|
item.get('fee', ''),
|
||||||
item.get('fiat_fee', ''),
|
item.get('fiat_fee', ''),
|
||||||
|
|
Loading…
Add table
Reference in a new issue