From 2dacb193d0bc348003816cd660b4ac85f3ca21d0 Mon Sep 17 00:00:00 2001 From: Ilya Kitaev Date: Wed, 28 Sep 2016 00:39:06 +0300 Subject: wallet2: wallet2::get_daemon_blockchain_height() clean error message on success --- src/wallet/wallet2.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/wallet') 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 { -- cgit v1.2.3