aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-09-28 00:39:06 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-09-28 00:39:06 +0300
commit2dacb193d0bc348003816cd660b4ac85f3ca21d0 (patch)
tree1dcb4dc80a635d78a21517c7c3c6f466aebfd521 /src/wallet
parentlibwallet_api: Wallet::setAutoRefreshInterval sanity check (diff)
downloadmonero-2dacb193d0bc348003816cd660b4ac85f3ca21d0.tar.xz
wallet2: wallet2::get_daemon_blockchain_height() clean error message on
success
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/wallet2.cpp4
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
{