Skip to content

Commit

Permalink
Merge pull request #5084
Browse files Browse the repository at this point in the history
9d58749 wallet2: fix hashchain going out of sync on refresh error (moneromooo-monero)
  • Loading branch information
fluffypony committed Mar 4, 2019
2 parents 9d41549 + 9d58749 commit b0d326b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/wallet/wallet2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3001,6 +3001,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 << ")...");
first = true;
start_height = 0;
blocks.clear();
parsed_blocks.clear();
short_chain_history.clear();
get_short_chain_history(short_chain_history, 1);
++try_count;
}
else
Expand Down

0 comments on commit b0d326b

Please sign in to comment.