Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clarity-types/src/representations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ impl StacksMessageCodec for ClarityName {
// must encode a valid string
let s = String::from_utf8(bytes).map_err(|_e| {
codec_error::DeserializeError(
"Failed to parse Clarity name: could not contruct from utf8".to_string(),
"Failed to parse Clarity name: could not construct from utf8".to_string(),
)
})?;

Expand Down
2 changes: 1 addition & 1 deletion libsigner/src/libsigner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ lazy_static! {
/// The version string for the signer
pub static ref VERSION_STRING: String = {
let pkg_version = option_env!("STACKS_NODE_VERSION").or(Some(STACKS_SIGNER_VERSION));
version_string("stacks-signer", pkg_version)
version_string("", pkg_version).trim().to_string()
};
}

Expand Down
4 changes: 2 additions & 2 deletions libsigner/src/v0/messages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ impl StacksMessageCodec for SignerMessage {
}
}

/// Work around for the fact that a lot of the structs being desierialized are not defined in messages.rs
/// Work around for the fact that a lot of the structs being deserialized are not defined in messages.rs
pub trait StacksMessageCodecExtensions: Sized {
/// Serialize the struct to the provided writer
fn inner_consensus_serialize<W: Write>(&self, fd: &mut W) -> Result<(), CodecError>;
Expand Down Expand Up @@ -326,7 +326,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
2 changes: 1 addition & 1 deletion stackslib/src/util_lib/strings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ impl StacksMessageCodec for UrlString {
// must encode a valid string
let s = String::from_utf8(bytes).map_err(|_e| {
codec_error::DeserializeError(
"Failed to parse URL string: could not contruct from utf8".to_string(),
"Failed to parse URL string: could not construct from utf8".to_string(),
)
})?;

Expand Down