aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-10-15 09:12:24 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-11-01 10:42:01 +0000
commit97ae7bb5cbf2cb3ef14fa20c9af72b24b9fe3e6f (patch)
treedbc435c65f7f170b87323053766f6d974c785931 /src/wallet/wallet2.cpp
parentMerge pull request #6044 (diff)
downloadmonero-97ae7bb5cbf2cb3ef14fa20c9af72b24b9fe3e6f.tar.xz
wallet2: do not repeatedly ask for pool txes sent to us
This lets a passive attacker with access to the network link between node and wallet perform traffic analysis to deduce when an idle wallet receives a transaction. Reported by Tramèr et al.
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet2.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index 9b3e7e8b4..4f0e2c26a 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -2968,11 +2968,6 @@ void wallet2::update_pool_state(bool refreshed)
LOG_PRINT_L1("We sent that one");
}
}
- else
- {
- LOG_PRINT_L1("Already saw that one, it's for us");
- txids.push_back({txid, true});
- }
}
// get those txes