aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-10-02 22:41:24 +0200
committerRiccardo Spagni <ric@spagni.net>2018-10-02 22:41:24 +0200
commit932a17018aa92193d0a71c21cf8cc55ba90d5768 (patch)
tree01819c7b2724a79204a8ad83be38af4047e65128 /src/wallet/wallet2.cpp
parentMerge pull request #4484 (diff)
parentwallet2: clear found out for every tx key (diff)
downloadmonero-932a17018aa92193d0a71c21cf8cc55ba90d5768.tar.xz
Merge pull request #4490
bccd88dd wallet2: clear found out for every tx key (doy-lee)
Diffstat (limited to 'src/wallet/wallet2.cpp')
-rw-r--r--src/wallet/wallet2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index b657fcd9f..e6ab10756 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -1344,7 +1344,6 @@ void wallet2::process_new_transaction(const crypto::hash &txid, const cryptonote
// (that is, the prunable stuff may or may not be included)
if (!miner_tx && !pool)
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
crypto::public_key tx_pub_key = null_pkey;
bool notify = false;
@@ -1367,6 +1366,7 @@ void wallet2::process_new_transaction(const crypto::hash &txid, const cryptonote
uint64_t total_received_1 = 0;
while (!tx.vout.empty())
{
+ std::vector<size_t> outs;
// if tx.vout is not empty, we loop through all tx pubkeys
tx_extra_pub_key pub_key_field;