From b15bc8a2e142bf85d8ea79c79a0af2cb816f90ff Mon Sep 17 00:00:00 2001 From: Dimitris Apostolou Date: Mon, 25 Apr 2022 22:45:28 +0300 Subject: [PATCH] Fix typos (#4186) --- zebra-state/src/service/read.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zebra-state/src/service/read.rs b/zebra-state/src/service/read.rs index 043d7b3be..911060cd6 100644 --- a/zebra-state/src/service/read.rs +++ b/zebra-state/src/service/read.rs @@ -466,7 +466,7 @@ where { let mut tx_id_error = None; - // Retry the finalized tx ID query if it was interruped by a finalizing block, + // Retry the finalized tx ID query if it was interrupted by a finalizing block, // and the non-finalized chain doesn't overlap the changed heights. for _ in 0..=FINALIZED_ADDRESS_INDEX_RETRIES { let (finalized_tx_ids, finalized_tip_range) = @@ -627,7 +627,7 @@ fn apply_tx_id_changes( chain_tx_ids: BTreeMap, ) -> BTreeMap { // Correctness: compensate for inconsistent tx IDs finalized blocks across multiple addresses, - // by combining them with overalapping non-finalized block tx IDs. + // by combining them with overlapping non-finalized block tx IDs. finalized_tx_ids .into_iter() .chain(chain_tx_ids.into_iter())