From 817d024e05edaf0e1d1e884fbf2aeaf87a1d03e8 Mon Sep 17 00:00:00 2001 From: yingshanghuangqiao Date: Mon, 22 Jul 2024 16:02:01 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: yingshanghuangqiao --- benches/benches/benchmarks/util.rs | 2 +- util/test-chain-utils/src/mock_utils.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/benches/benches/benchmarks/util.rs b/benches/benches/benchmarks/util.rs index 8c21dddc3b..4b56411697 100644 --- a/benches/benches/benchmarks/util.rs +++ b/benches/benches/benchmarks/util.rs @@ -480,7 +480,7 @@ pub fn create_2out_transaction( pub fn dao_data(shared: &Shared, parent: &HeaderView, txs: &[TransactionView]) -> Byte32 { let mut seen_inputs = HashSet::new(); - // In case of resolving errors, we just output a dummp DAO field, + // In case of resolving errors, we just output a dummy DAO field, // since those should be the cases where we are testing invalid // blocks let transactions_provider = TransactionsProvider::new(txs.iter()); diff --git a/util/test-chain-utils/src/mock_utils.rs b/util/test-chain-utils/src/mock_utils.rs index 4b48146266..2b55b03c07 100644 --- a/util/test-chain-utils/src/mock_utils.rs +++ b/util/test-chain-utils/src/mock_utils.rs @@ -199,7 +199,7 @@ pub fn dao_data( ignore_resolve_error: bool, ) -> Byte32 { let mut seen_inputs = HashSet::new(); - // In case of resolving errors, we just output a dummp DAO field, + // In case of resolving errors, we just output a dummy DAO field, // since those should be the cases where we are testing invalid // blocks let transactions_provider = TransactionsProvider::new(txs.iter());