wallet_api: store fee for incoming txs in history
This commit is contained in:
parent
3bd6ed94d7
commit
bdabcd01b7
@ -139,6 +139,7 @@ void TransactionHistoryImpl::refresh()
|
|||||||
ti->m_paymentid = payment_id;
|
ti->m_paymentid = payment_id;
|
||||||
ti->m_coinbase = pd.m_coinbase;
|
ti->m_coinbase = pd.m_coinbase;
|
||||||
ti->m_amount = pd.m_amount;
|
ti->m_amount = pd.m_amount;
|
||||||
|
ti->m_fee = pd.m_fee;
|
||||||
ti->m_direction = TransactionInfo::Direction_In;
|
ti->m_direction = TransactionInfo::Direction_In;
|
||||||
ti->m_hash = string_tools::pod_to_hex(pd.m_tx_hash);
|
ti->m_hash = string_tools::pod_to_hex(pd.m_tx_hash);
|
||||||
ti->m_blockheight = pd.m_block_height;
|
ti->m_blockheight = pd.m_block_height;
|
||||||
|
Loading…
Reference in New Issue
Block a user