Fix typos
This commit is contained in:
parent
5a6057b8fb
commit
d68a01a221
|
@ -744,7 +744,7 @@ impl<P: consensus::Parameters> WalletWrite for WalletDb<rusqlite::Connection, P>
|
|||
.map(|res| (res.subtree, res.checkpoints))
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
// 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 {
|
||||
|
|
|
@ -442,7 +442,7 @@ pub(crate) fn update_chain_tip<P: consensus::Parameters>(
|
|||
// `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)?;
|
||||
|
|
Loading…
Reference in New Issue