Rename new_banks_from_blockstore => new_banks_from_ledger (#10864)

This commit is contained in:
Ryo Onodera
2020-07-01 15:19:40 +09:00
committed by GitHub
parent d97850f1d9
commit ecf6fb2cd2
2 changed files with 8 additions and 11 deletions

View File

@@ -321,7 +321,7 @@ impl Tower {
}
#[cfg(test)]
pub fn record_vote(&mut self, slot: Slot, hash: Hash) -> Option<Slot> {
fn record_vote(&mut self, slot: Slot, hash: Hash) -> Option<Slot> {
let vote = Vote::new(vec![slot], hash);
self.record_bank_vote(vote)
}