mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
wallet2: wallet2::get_daemon_blockchain_height() clean error message on
success
This commit is contained in:
parent
25e5efc238
commit
2dacb193d0
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue