From 73959c623cd465c2ed78b48daddd87d20e0e5630 Mon Sep 17 00:00:00 2001 From: Ben Evanoff <55565574+benevanoff@users.noreply.github.com> Date: Sat, 2 Jan 2021 13:56:57 -0600 Subject: [PATCH] wallet_api: store fee for incoming txs in history --- src/wallet/api/transaction_history.cpp | 1 + 1 file changed, 1 insertion(+) 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;