aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-27 17:38:05 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-27 17:46:55 +0000
commitb5c74e40416610ad3fdd9047bcffd406ea1067b5 (patch)
tree7fd9f55019ee6b4a1427037e14c5b566e3359874 /src/wallet/wallet2.cpp
parentMerge pull request #1798 (diff)
downloadmonero-b5c74e40416610ad3fdd9047bcffd406ea1067b5.tar.xz
wallet: invalidate node proxy cache when reconnecting
Diffstat (limited to 'src/wallet/wallet2.cpp')
-rw-r--r--src/wallet/wallet2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index 7b42458c0..14369da3f 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -2286,6 +2286,7 @@ bool wallet2::check_connection(uint32_t *version, uint32_t timeout)
if(!m_http_client.is_connected())
{
+ m_node_rpc_proxy.invalidate();
if (!m_http_client.connect(std::chrono::milliseconds(timeout)))
return false;
}