diff --git a/pallets/registry/src/benchmarking.rs b/pallets/registry/src/benchmarking.rs index 65849c535..13caabbd4 100644 --- a/pallets/registry/src/benchmarking.rs +++ b/pallets/registry/src/benchmarking.rs @@ -216,7 +216,7 @@ benchmarks! { let network_verifying_key = synedrion::ecdsa::VerifyingKey::try_from(network_verifying_key.as_slice()).unwrap(); - // We substract one from the count since this gets incremented after a succesful registration, + // We subtract one from the count since this gets incremented after a succesful registration, // and we're interested in the account we just registered. let count = >::count() - 1; let derivation_path = diff --git a/pallets/staking/src/benchmarking.rs b/pallets/staking/src/benchmarking.rs index 2a3356d9d..a6dad4dae 100644 --- a/pallets/staking/src/benchmarking.rs +++ b/pallets/staking/src/benchmarking.rs @@ -531,7 +531,7 @@ benchmarks! { } report_unstable_peer { - // We substract `2` here to give room to our test signers + // We subtract `2` here to give room to our test signers let s in 0 .. (MAX_SIGNERS - 2) as u32; let threshold_reporter: T::AccountId = whitelisted_caller();