diff --git a/zcash_client_sqlite/src/lib.rs b/zcash_client_sqlite/src/lib.rs index fa162ec69..992ac9533 100644 --- a/zcash_client_sqlite/src/lib.rs +++ b/zcash_client_sqlite/src/lib.rs @@ -744,7 +744,7 @@ impl WalletWrite for WalletDb .map(|res| (res.subtree, res.checkpoints)) .collect::>(); - // Update the Sapling note commitment tree with all newly read note commitments + // Update the Orchard note commitment tree with all newly read note commitments let mut orchard_subtrees = orchard_subtrees.into_iter(); wdb.with_orchard_tree_mut::<_, _, Self::Error>(move |orchard_tree| { for (tree, checkpoints) in &mut orchard_subtrees { diff --git a/zcash_client_sqlite/src/wallet/scanning.rs b/zcash_client_sqlite/src/wallet/scanning.rs index 310c48fce..814049313 100644 --- a/zcash_client_sqlite/src/wallet/scanning.rs +++ b/zcash_client_sqlite/src/wallet/scanning.rs @@ -442,7 +442,7 @@ pub(crate) fn update_chain_tip( // `ScanRange` uses an exclusive upper bound. let chain_end = new_tip + 1; - // Read the maximum height from each of the the shards tables. The minimum of the two + // Read the maximum height from each of the shards tables. The minimum of the two // gives the start of a height range that covers the last incomplete shard of both the // Sapling and Orchard pools. let sapling_shard_tip = tip_shard_end_height(conn, SAPLING_TABLES_PREFIX)?;