diff --git a/src/bank.rs b/src/bank.rs index 4e5066d5d3..5586808197 100644 --- a/src/bank.rs +++ b/src/bank.rs @@ -830,7 +830,7 @@ impl Bank { // 2) Transfer tokens to the bootstrap leader. The first two // account keys will both be the mint (because the mint is the source - // for this transaction and the first move instruction is to the the + // for this transaction and the first move instruction is to the // mint itself), so we look at the third account key to find the first // leader id. let bootstrap_leader_id = tx.account_keys[2]; diff --git a/src/entry.rs b/src/entry.rs index 8995995e6b..f36b24c76f 100644 --- a/src/entry.rs +++ b/src/entry.rs @@ -622,7 +622,7 @@ mod tests { // // TODO: this magic number and the mix of transaction types // is designed to fill up a Blob more or less exactly, - // to get near enough the the threshold that + // to get near enough the threshold that // deserialization falls over if it uses the wrong size() // parameter to index into blob.data() // diff --git a/src/replicator.rs b/src/replicator.rs index b8519071c7..739bb24fa8 100644 --- a/src/replicator.rs +++ b/src/replicator.rs @@ -102,7 +102,7 @@ impl Replicator { /// Returns a Result that contains a replicator on success /// /// # Arguments - /// * `ledger_path` - (Not actually optional) path to where the the ledger will be stored. + /// * `ledger_path` - (Not actually optional) path to where the ledger will be stored. /// Causes panic if none /// * `node` - The replicator node /// * `leader_info` - NodeInfo representing the leader