wallet2: wallet2::get_daemon_blockchain_height() clean error message on
success
This commit is contained in:
parent
25e5efc238
commit
2dacb193d0
|
@ -4073,6 +4073,10 @@ uint64_t wallet2::get_daemon_blockchain_height(string &err)
|
|||
{
|
||||
err = res.status;
|
||||
}
|
||||
else // success, cleaning up error message
|
||||
{
|
||||
err = "";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue