mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 03:03:17 +00:00
wallet2: fix hashchain going out of sync on refresh error
This commit is contained in:
parent
4e72384318
commit
9d58749b85
1 changed files with 5 additions and 0 deletions
|
@ -2930,6 +2930,11 @@ void wallet2::refresh(bool trusted_daemon, uint64_t start_height, uint64_t & blo
|
||||||
{
|
{
|
||||||
LOG_PRINT_L1("Another try pull_blocks (try_count=" << try_count << ")...");
|
LOG_PRINT_L1("Another try pull_blocks (try_count=" << try_count << ")...");
|
||||||
first = true;
|
first = true;
|
||||||
|
start_height = 0;
|
||||||
|
blocks.clear();
|
||||||
|
parsed_blocks.clear();
|
||||||
|
short_chain_history.clear();
|
||||||
|
get_short_chain_history(short_chain_history, 1);
|
||||||
++try_count;
|
++try_count;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue