diff options
| author | moneromooo.monero <moneromooo.monero@users.noreply.github.com> | 2016-11-07 12:02:27 +0000 |
|---|---|---|
| committer | moneromooo.monero <moneromooo.monero@users.noreply.github.com> | 2016-11-07 12:02:27 +0000 |
| commit | 689f0415e7e0d47b765b18d370fc6c2cf1edb990 (patch) | |
| tree | 64f2c184da402463f7a09cea965ae39c79f4ea25 /src/libwalletqt/Wallet.cpp | |
| parent | c9bb2f571895edb6a01ca5528c944d09bc222823 (diff) | |
| download | monzero-gui-689f0415e7e0d47b765b18d370fc6c2cf1edb990.tar.gz monzero-gui-689f0415e7e0d47b765b18d370fc6c2cf1edb990.tar.xz monzero-gui-689f0415e7e0d47b765b18d370fc6c2cf1edb990.zip | |
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.
Diffstat (limited to 'src/libwalletqt/Wallet.cpp')
| -rw-r--r-- | src/libwalletqt/Wallet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<Status>(m_walletImpl->status()); } -bool Wallet::connected() const +Wallet::ConnectionStatus Wallet::connected() const { - return m_walletImpl->connected(); + return static_cast<ConnectionStatus>(m_walletImpl->connected()); } bool Wallet::synchronized() const |
