From f76b6048078b720252ff8ba3621649d4cc7b60e1 Mon Sep 17 00:00:00 2001 From: woodser Date: Wed, 2 Oct 2019 17:15:44 -0400 Subject: [PATCH] disable rpc version mismatch check --- src/wallet/monero_wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/monero_wallet.cpp b/src/wallet/monero_wallet.cpp index 6ea2207..b7e99a9 100644 --- a/src/wallet/monero_wallet.cpp +++ b/src/wallet/monero_wallet.cpp @@ -978,7 +978,7 @@ namespace monero { uint32_t version = 0; m_is_connected = m_w2->check_connection(&version, NULL, DEFAULT_CONNECTION_TIMEOUT_MILLIS); // TODO: should this be updated elsewhere? if (!m_is_connected) return false; - if (!m_w2->light_wallet() && (version >> 16) != CORE_RPC_VERSION_MAJOR) m_is_connected = false; // wrong network type + //if (!m_w2->light_wallet() && (version >> 16) != CORE_RPC_VERSION_MAJOR) m_is_connected = false; // wrong network type // TODO: disallow rpc version mismatch by configuration return m_is_connected; }