Co-authored-by: Carl Lin <carl@solana.com>
This commit is contained in:
carllin 2020-10-27 18:56:57 -07:00 committed by GitHub
parent c4962af9eb
commit f96ab5a818
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -187,6 +187,7 @@ impl HeaviestSubtreeForkChoice {
.expect("new root must exist in fork_infos map")
.parent = None;
self.root = new_root;
self.last_root_time = Instant::now();
}
pub fn add_root_parent(&mut self, root_parent: Slot) {