Skip to content

Commit

Permalink
chore: fix some typos in comment (#1626)
Browse files Browse the repository at this point in the history
Signed-off-by: majorteach <[email protected]>
  • Loading branch information
majorteach authored Dec 16, 2024
1 parent aec2216 commit 4d658d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/clarinet-cli/src/deployments/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub fn check_deployments(manifest: &ProjectManifest) -> Result<(), String> {
continue;
}
};
println!("{} {} succesfully checked", green!("✔"), relative_path);
println!("{} {} successfully checked", green!("✔"), relative_path);
}
Ok(())
}
Expand Down
8 changes: 4 additions & 4 deletions components/stacks-codec/src/codec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ impl TransactionSpendingCondition {
}

/// Linear-complexity verifying algorithm -- we verify a rolling hash over all data committed
/// to by order of signers (instead of re-serializing the tranasction each time).
/// to by order of signers (instead of re-serializing the transaction each time).
/// Calculates the next sighash and public key, which the next verifier must verify.
/// Used by StacksTransaction::verify*
pub fn next_verification(
Expand Down Expand Up @@ -2295,7 +2295,7 @@ impl StacksTransaction {
pub fn append_next_sponsor(&mut self, pubk: &StacksPublicKey) -> Result<(), CodecError> {
match self.auth {
TransactionAuth::Standard(_) => Err(CodecError::SigningError(
"Cannot appned a public key to the sponsor of a standard auth condition"
"Cannot append a public key to the sponsor of a standard auth condition"
.to_string(),
)),
TransactionAuth::Sponsored(_, ref mut sponsor_condition) => {
Expand Down Expand Up @@ -3832,7 +3832,7 @@ impl StacksMessageCodec for TransactionAuthField {
}
_ => {
return Err(CodecError::DeserializeError(format!(
"Failed to parse auth field: unkonwn auth field ID {}",
"Failed to parse auth field: unknown auth field ID {}",
field_id
)));
}
Expand Down Expand Up @@ -4311,7 +4311,7 @@ impl StacksMessageCodec for PeerInfo {
// must encode a valid string
let server_version = String::from_utf8(bytes).map_err(|_e| {
CodecError::DeserializeError(
"Failed to parse server version name: could not contruct from utf8".to_string(),
"Failed to parse server version name: could not construct from utf8".to_string(),
)
})?;
let pox_consensus = read_next::<ConsensusHash, _>(fd)?;
Expand Down

0 comments on commit 4d658d3

Please sign in to comment.