mirror of
https://github.com/monero-project/monero.git
synced 2025-08-09 04:22:19 -04:00
wallet: distinguish coinbase from other txes in show_transfers
This commit is contained in:
parent
7d2d8055ac
commit
37f0799284
4 changed files with 35 additions and 16 deletions
|
@ -270,7 +270,7 @@ namespace tools
|
|||
entry.unlock_time = pd.m_unlock_time;
|
||||
entry.fee = pd.m_fee;
|
||||
entry.note = m_wallet->get_tx_note(pd.m_tx_hash);
|
||||
entry.type = "in";
|
||||
entry.type = pd.m_coinbase ? "block" : "in";
|
||||
entry.subaddr_index = pd.m_subaddr_index;
|
||||
entry.address = m_wallet->get_subaddress_as_str(pd.m_subaddr_index);
|
||||
set_confirmations(entry, m_wallet->get_blockchain_current_height(), m_wallet->get_last_block_reward());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue