to to/the the (#5590)

This commit is contained in:
Michael Vines
2019-08-21 17:46:59 -07:00
committed by GitHub
parent 80f618f011
commit faafee6b42
4 changed files with 4 additions and 4 deletions

View File

@ -1910,7 +1910,7 @@ fn handle_chaining_for_slot(
// If this is a newly inserted slot, then we know the children of this slot were not previously
// connected to the trunk of the ledger. Thus if slot.is_connected is now true, we need to
// update all child slots with `is_connected` = true because these children are also now newly
// connected to to trunk of the the ledger
// connected to trunk of the ledger
let should_propagate_is_connected =
is_newly_completed_slot(&RefCell::borrow(&*meta), meta_backup)
&& RefCell::borrow(&*meta).is_connected;

View File

@ -959,7 +959,7 @@ mod test {
let res = check_dead_fork(|blockhash, slot| {
let bad_hash = hash(&[2; 30]);
let entry = entry::next_entry(
// User wrong blockhash so that the the entry causes an entry verification failure
// User wrong blockhash so that the entry causes an entry verification failure
&bad_hash,
1,
vec![system_transaction::create_user_account(