aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-02-15 21:46:22 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-02-15 21:46:22 -0500
commitf11e434ae6ceab2b5e7e302da71e65ec86f62fb0 (patch)
tree32d0afa378e9ee36e1dd6bfda1e19e0785a33629 /src/wallet/api
parentMerge pull request #7252 (diff)
parentwallet_api: store fee for incoming txs in history (diff)
downloadmonero-f11e434ae6ceab2b5e7e302da71e65ec86f62fb0.tar.xz
Merge pull request #7265
bdabcd0 wallet_api: store fee for incoming txs in history (Ben Evanoff)
Diffstat (limited to 'src/wallet/api')
-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;