1
0
Fork 0
mirror of https://git.wownero.com/wownero/wownero.git synced 2024-08-15 01:03:23 +00:00

wallet_api: store fee for incoming txs in history

This commit is contained in:
Ben Evanoff 2021-01-02 13:56:57 -06:00 committed by selsta
parent 712f362150
commit 73959c623c
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -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;