Add CommitmentSlots::new_from_slot() (#11600)

This commit is contained in:
Greg Fitzgerald
2020-08-12 21:51:15 -06:00
committed by GitHub
parent 6c887c2b87
commit 574c356863
4 changed files with 27 additions and 85 deletions

View File

@@ -1228,9 +1228,7 @@ pub(crate) mod tests {
10,
CommitmentSlots {
slot: bank1.slot(),
root: 0,
highest_confirmed_slot: 0,
highest_confirmed_root: 0,
..CommitmentSlots::default()
},
);