Fix non-restarting timer in vote processor log (#2368)

* Fix non-restarting timer in vote processor log

* Default stop
This commit is contained in:
Guilherme Lawless 2019-10-29 07:37:42 +00:00 committed by GitHub
commit 3eb74eb0b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ void nano::vote_processor::process_loop ()
* there are a sufficient number of items for it to be relevant
*/
log_this_iteration = true;
elapsed.start ();
elapsed.restart ();
}
active = true;
lock.unlock ();