diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index cbceb80b..a2fa2813 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -3275,7 +3275,7 @@ void wallet2::wti_to_csv_entry(std::ostream& ss, const wallet_public::wallet_tra ss << (wti.is_income ? "in" : "out") << ","; ss << (wti.is_service ? "[SERVICE]" : "") << (wti.is_mixing ? "[MIXINS]" : "") << (wti.is_mining ? "[MINING]" : "") << ","; ss << wti.tx_type << ","; - ss << wti.fee << ENDL; + ss << print_money(wti.fee) << ENDL; }; void wallet2::wti_to_txt_line(std::ostream& ss, const wallet_public::wallet_transfer_info& wti, size_t index) @@ -3316,7 +3316,7 @@ void wallet2::export_transaction_history(std::ostream& ss, const std::string& fo else { //csv by default - ss << "N, Date, Amount, Comment, Address, ID, Height, Unlock timestamp, Tx size, Alias, In/Out, Flags, Type, Fee" << ENDL; + ss << "N, Date, Amount, Comment, Address, ID, Height, Unlock timestamp, Tx size, Alias, PaymentID, In/Out, Flags, Type, Fee" << ENDL; } @@ -3326,6 +3326,7 @@ void wallet2::export_transaction_history(std::ostream& ss, const std::string& fo if (currency::is_coinbase(wti.tx)) return true; } + wti.fee = currency::get_tx_fee(wti.tx); cb(ss, wti, index); return true; });