mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +00:00
There isn't always a tx hash..\?
This commit is contained in:
parent
c50103870e
commit
9083be46f7
1 changed files with 3 additions and 0 deletions
|
@ -769,6 +769,9 @@ class MiniActuator:
|
||||||
|
|
||||||
if tx_hash:
|
if tx_hash:
|
||||||
label, is_default_label = self.wallet.get_label(tx_hash)
|
label, is_default_label = self.wallet.get_label(tx_hash)
|
||||||
|
else:
|
||||||
|
label = ""
|
||||||
|
|
||||||
balance_string = format_satoshis(balance, False, self.wallet.num_zeros)
|
balance_string = format_satoshis(balance, False, self.wallet.num_zeros)
|
||||||
transaction.writerow([tx_hash, label, confirmations, value_string, fee_string, balance_string, time_string])
|
transaction.writerow([tx_hash, label, confirmations, value_string, fee_string, balance_string, time_string])
|
||||||
QMessageBox.information(None,"CSV Export created", "Your CSV export has been succesfully created.")
|
QMessageBox.information(None,"CSV Export created", "Your CSV export has been succesfully created.")
|
||||||
|
|
Loading…
Add table
Reference in a new issue