Skip to content

Commit

Permalink
Set accounts_confirmed_info_size to 0 when clearing
Browse files Browse the repository at this point in the history
  • Loading branch information
wezrule committed Feb 6, 2020
1 parent f0dacca commit 1623f94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nano/node/confirmation_height_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ void nano::confirmation_height_processor::run ()
// Separate blocks which are pending confirmation height can be batched by a minimum processing time (to improve lmdb disk write performance),
// so make sure the slate is clean when a new batch is starting.
accounts_confirmed_info.clear ();
accounts_confirmed_info_size = 0;
timer.restart ();
}
set_next_hash ();
Expand Down

0 comments on commit 1623f94

Please sign in to comment.