diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2018-08-15 17:23:56 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2018-08-15 17:23:56 -0500 |
| commit | 5e795ee7afaa1cd08edefc3c6f716e6455ca825a (patch) | |
| tree | 705ea1ee50af7daa4b477ee13872c522da545e4d /src/wallet/wallet2.cpp | |
| parent | 2a44c2defd485e3806af13b9e5edf0098800b35c (diff) | |
| parent | 37f07992846ce0b07b872e5f2c61fc65930de06d (diff) | |
| download | monzero-core-5e795ee7afaa1cd08edefc3c6f716e6455ca825a.tar.gz monzero-core-5e795ee7afaa1cd08edefc3c6f716e6455ca825a.tar.xz monzero-core-5e795ee7afaa1cd08edefc3c6f716e6455ca825a.zip | |
Merge pull request #4153
37f0799 wallet: distinguish coinbase from other txes in show_transfers (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet2.cpp')
| -rw-r--r-- | src/wallet/wallet2.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index aff29e014..df029f461 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -1599,6 +1599,7 @@ void wallet2::process_new_transaction(const crypto::hash &txid, const cryptonote payment.m_block_height = height; payment.m_unlock_time = tx.unlock_time; payment.m_timestamp = ts; + payment.m_coinbase = miner_tx; payment.m_subaddr_index = i.first; if (pool) { emplace_or_replace(m_unconfirmed_payments, payment_id, pool_payment_details{payment, double_spend_seen}); @@ -7556,6 +7557,7 @@ void wallet2::light_wallet_get_address_txs() payment.m_block_height = t.height; payment.m_unlock_time = t.unlock_time; payment.m_timestamp = t.timestamp; + payment.m_coinbase = t.coinbase; if (t.mempool) { if (std::find(unconfirmed_payments_txs.begin(), unconfirmed_payments_txs.end(), tx_hash) == unconfirmed_payments_txs.end()) { |
