aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Evanoff <55565574+benevanoff@users.noreply.github.com>2021-01-02 13:56:57 -0600
committerGitHub <noreply@github.com>2021-01-02 13:56:57 -0600
commitbdabcd01b70cdfc3eb77662951c9b85aa891e0ee (patch)
treeff77cd80945a1fdd76243d50dc9512fa88adf074
parentMerge pull request #7151 (diff)
downloadmonero-bdabcd01b70cdfc3eb77662951c9b85aa891e0ee.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;