mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-22 10:44:46 +00:00
Merge pull request #3571
c15c5b5
TransactionHistory: use displayAmount for amount (selsta)
This commit is contained in:
commit
bc8f39c311
1 changed files with 1 additions and 2 deletions
|
@ -181,7 +181,6 @@ QString TransactionHistory::writeCSV(quint32 accountIndex, QString out)
|
||||||
TransactionInfo info(tx, this);
|
TransactionInfo info(tx, this);
|
||||||
|
|
||||||
// collect column data
|
// collect column data
|
||||||
double amount = info.amount();
|
|
||||||
quint64 atomicAmount = info.atomicAmount();
|
quint64 atomicAmount = info.atomicAmount();
|
||||||
quint32 subaddrAccount = info.subaddrAccount();
|
quint32 subaddrAccount = info.subaddrAccount();
|
||||||
QString fee = info.fee();
|
QString fee = info.fee();
|
||||||
|
@ -212,7 +211,7 @@ QString TransactionHistory::writeCSV(quint32 accountIndex, QString out)
|
||||||
// format and write
|
// format and write
|
||||||
QString line = QString("%1,%2,%3,%4,%5,%6,%7,%8,\"%9\",%10,%11\n")
|
QString line = QString("%1,%2,%3,%4,%5,%6,%7,%8,\"%9\",%10,%11\n")
|
||||||
.arg(QString::number(blockHeight), QString::number(epoch), date)
|
.arg(QString::number(blockHeight), QString::number(epoch), date)
|
||||||
.arg(direction, QString::number(amount), QString::number(atomicAmount))
|
.arg(direction, displayAmount, QString::number(atomicAmount))
|
||||||
.arg(info.fee(), info.hash(), label, QString::number(subaddrAccount))
|
.arg(info.fee(), info.hash(), label, QString::number(subaddrAccount))
|
||||||
.arg(paymentId);
|
.arg(paymentId);
|
||||||
output << line;
|
output << line;
|
||||||
|
|
Loading…
Reference in a new issue