StatusCache::roots() returns `Slot`s not `u64`s (#26164)

This commit is contained in:
Brooks Prumo 2022-06-23 02:03:09 -05:00 committed by GitHub
parent 5c920caf4f
commit a5cf72e446
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ impl<T: Serialize + Clone> StatusCache<T> {
self.purge_roots();
}
pub fn roots(&self) -> &HashSet<u64> {
pub fn roots(&self) -> &HashSet<Slot> {
&self.roots
}