diff options
author | Ben Evanoff <55565574+benevanoff@users.noreply.github.com> | 2021-01-02 13:56:57 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-02 13:56:57 -0600 |
commit | bdabcd01b70cdfc3eb77662951c9b85aa891e0ee (patch) | |
tree | ff77cd80945a1fdd76243d50dc9512fa88adf074 /src/wallet | |
parent | Merge pull request #7151 (diff) | |
download | monero-bdabcd01b70cdfc3eb77662951c9b85aa891e0ee.tar.xz |
wallet_api: store fee for incoming txs in history
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/api/transaction_history.cpp | 1 |
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; |