wallet2: wallet2::get_daemon_blockchain_height() clean error message on

success
This commit is contained in:
Ilya Kitaev 2016-09-28 00:39:06 +03:00
parent 25e5efc238
commit 2dacb193d0
1 changed files with 4 additions and 0 deletions

View File

@ -4073,6 +4073,10 @@ uint64_t wallet2::get_daemon_blockchain_height(string &err)
{ {
err = res.status; err = res.status;
} }
else // success, cleaning up error message
{
err = "";
}
} }
else else
{ {