mirror of
https://github.com/monero-project/monero.git
synced 2024-12-22 19:49:30 +00:00
Merge pull request #4491
bcfb0a72
wallet2: clear found out for every tx key (doy-lee)
This commit is contained in:
commit
e631bd2d57
1 changed files with 1 additions and 1 deletions
|
@ -1106,7 +1106,6 @@ void wallet2::process_new_transaction(const crypto::hash &txid, const cryptonote
|
||||||
// (that is, the prunable stuff may or may not be included)
|
// (that is, the prunable stuff may or may not be included)
|
||||||
if (!miner_tx && !pool)
|
if (!miner_tx && !pool)
|
||||||
process_unconfirmed(txid, tx, height);
|
process_unconfirmed(txid, tx, height);
|
||||||
std::vector<size_t> outs;
|
|
||||||
std::unordered_map<cryptonote::subaddress_index, uint64_t> tx_money_got_in_outs; // per receiving subaddress index
|
std::unordered_map<cryptonote::subaddress_index, uint64_t> tx_money_got_in_outs; // per receiving subaddress index
|
||||||
crypto::public_key tx_pub_key = null_pkey;
|
crypto::public_key tx_pub_key = null_pkey;
|
||||||
|
|
||||||
|
@ -1124,6 +1123,7 @@ void wallet2::process_new_transaction(const crypto::hash &txid, const cryptonote
|
||||||
uint64_t total_received_1 = 0;
|
uint64_t total_received_1 = 0;
|
||||||
while (!tx.vout.empty())
|
while (!tx.vout.empty())
|
||||||
{
|
{
|
||||||
|
std::vector<size_t> outs;
|
||||||
// if tx.vout is not empty, we loop through all tx pubkeys
|
// if tx.vout is not empty, we loop through all tx pubkeys
|
||||||
|
|
||||||
tx_extra_pub_key pub_key_field;
|
tx_extra_pub_key pub_key_field;
|
||||||
|
|
Loading…
Reference in a new issue