fix typo in broadcast_duplicates_run.rs (#22888)

Creat -> Create
This commit is contained in:
Ikko Ashimine
2022-02-03 04:29:14 +09:00
committed by GitHub
parent dccbddad80
commit 58a70d76a3

View File

@ -260,7 +260,7 @@ impl BroadcastRun for BroadcastDuplicatesRun {
.map(|(node, _)| node) .map(|(node, _)| node)
.collect(); .collect();
// Creat cluster partition. // Create cluster partition.
let cluster_partition: HashSet<Pubkey> = { let cluster_partition: HashSet<Pubkey> = {
let mut cumilative_stake = 0; let mut cumilative_stake = 0;
let epoch = root_bank.get_leader_schedule_epoch(slot); let epoch = root_bank.get_leader_schedule_epoch(slot);