Skip to content

Commit 167327b

Browse files
committed
fix spelling
1 parent 6548e4a commit 167327b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

rust/rbac-registration/src/cardano/cip509/cip509.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ impl Cip509 {
230230
}
231231

232232
/// Returns signing public key for a role.
233-
/// Would return only signing public keys for the present ceritificates,
233+
/// Would return only signing public keys for the present certificates,
234234
/// if certificate marked as deleted or undefined it would be skipped.
235235
#[must_use]
236236
pub(crate) fn signing_pk_for_role(

rust/rbac-registration/src/cardano/state.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Cardano RBAC state traits, which are used during different statefull validation
1+
//! Cardano RBAC state traits, which are used during different stateful validation
22
//! procedures.
33
44
use std::future::Future;
@@ -44,7 +44,7 @@ pub trait RBACState {
4444
txn_id: &TransactionId,
4545
) -> impl Future<Output = anyhow::Result<Option<CatalystId>>> + Send;
4646

47-
/// Update the update by "taking" the given `StakeAddress` for the correspoding RBAC
47+
/// Update the update by "taking" the given `StakeAddress` for the corresponding RBAC
4848
/// chain's by the given `CatalystId`.
4949
fn take_stake_address_from_chain(
5050
&mut self,

rust/rbac-registration/src/registration/cardano/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ impl RegistrationChainInner {
542542
if cat_id == &self.catalyst_id {
543543
cip509.report().functional_validation(
544544
&format!(
545-
"Trying to apply the first registration to the assosiated {} again",
545+
"Trying to apply the first registration to the associated {} again",
546546
cat_id.as_short_id()
547547
),
548548
"It isn't allowed to submit first registration twice",
@@ -642,9 +642,9 @@ impl RegistrationChainInner {
642642
Some(new_inner)
643643
}
644644

645-
/// Update the registration chain with the `cip509` assosiated to another chain.
645+
/// Update the registration chain with the `cip509` associated to another chain.
646646
/// This is the case when registration for different chain affecting the current one,
647-
/// by invalidating some data for the current registration chain (stoling stake
647+
/// by invalidating some data for the current registration chain (stealing stake
648648
/// addresses etc.).
649649
///
650650
/// The provided `cip509` should be fully validated by another chain before trying to

0 commit comments

Comments
 (0)