Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
HCastano committed Dec 16, 2024
1 parent efa04c6 commit 7b834a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pallets/registry/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 = <Registered<T>>::count() - 1;
let derivation_path =
Expand Down
2 changes: 1 addition & 1 deletion pallets/staking/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7b834a3

Please sign in to comment.