From 8cea9d860521a6ca1a6af604ecc5bcd977a22040 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Fri, 4 Jun 2021 13:58:09 +0200 Subject: [PATCH] wallet: Reset RPC Pay ID on node switch RPC pay client ID is sent with each RPC request, set a new secret every time we switch nodes to mitigate trivial correlation --- src/wallet/wallet2.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index e298eca53..1c4671150 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -1319,6 +1319,9 @@ bool wallet2::set_daemon(std::string daemon_address, boost::optional