From 689f0415e7e0d47b765b18d370fc6c2cf1edb990 Mon Sep 17 00:00:00 2001 From: "moneromooo.monero" Date: Mon, 7 Nov 2016 12:02:27 +0000 Subject: Report when the GUI is connected to a daemon with mismatched version This will cause various errors confusing to the user, as they stem for the daemon returning replies with missing information, etc. --- src/libwalletqt/Wallet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libwalletqt/Wallet.cpp') diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp index ef98828c..2def00e7 100644 --- a/src/libwalletqt/Wallet.cpp +++ b/src/libwalletqt/Wallet.cpp @@ -86,9 +86,9 @@ Wallet::Status Wallet::status() const return static_cast(m_walletImpl->status()); } -bool Wallet::connected() const +Wallet::ConnectionStatus Wallet::connected() const { - return m_walletImpl->connected(); + return static_cast(m_walletImpl->connected()); } bool Wallet::synchronized() const -- cgit v1.2.3