diff options
author | Ilya Kitaev <mbg033@gmail.com> | 2016-09-28 00:39:06 +0300 |
---|---|---|
committer | Ilya Kitaev <mbg033@gmail.com> | 2016-09-28 00:39:06 +0300 |
commit | 2dacb193d0bc348003816cd660b4ac85f3ca21d0 (patch) | |
tree | 1dcb4dc80a635d78a21517c7c3c6f466aebfd521 /src/wallet/wallet2.cpp | |
parent | libwallet_api: Wallet::setAutoRefreshInterval sanity check (diff) | |
download | monero-2dacb193d0bc348003816cd660b4ac85f3ca21d0.tar.xz |
wallet2: wallet2::get_daemon_blockchain_height() clean error message on
success
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 80513b519..ed4ab93de 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -4073,6 +4073,10 @@ uint64_t wallet2::get_daemon_blockchain_height(string &err) { err = res.status; } + else // success, cleaning up error message + { + err = ""; + } } else { |