aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Evanoff <55565574+benevanoff@users.noreply.github.com>2021-01-02 13:56:57 -0600
committerselsta <selsta@sent.at>2021-04-22 04:32:32 +0200
commit73959c623cd465c2ed78b48daddd87d20e0e5630 (patch)
treec6f16d63bc7b59ec6a9cf9d7ba4f499b05f3e0ef
parentwallet api: allow wallet to fetch all key images via api (diff)
downloadmonero-73959c623cd465c2ed78b48daddd87d20e0e5630.tar.xz
wallet_api: store fee for incoming txs in history
-rw-r--r--src/wallet/api/transaction_history.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/api/transaction_history.cpp b/src/wallet/api/transaction_history.cpp
index b6d52c58d..d8e4aab65 100644
--- a/src/wallet/api/transaction_history.cpp
+++ b/src/wallet/api/transaction_history.cpp
@@ -139,6 +139,7 @@ void TransactionHistoryImpl::refresh()
ti->m_paymentid = payment_id;
ti->m_coinbase = pd.m_coinbase;
ti->m_amount = pd.m_amount;
+ ti->m_fee = pd.m_fee;
ti->m_direction = TransactionInfo::Direction_In;
ti->m_hash = string_tools::pod_to_hex(pd.m_tx_hash);
ti->m_blockheight = pd.m_block_height;