Skip to content

Commit

Permalink
Merge pull request #1281 from pavlenex/typo-fixes
Browse files Browse the repository at this point in the history
Minor warning and error grammar and typo fixes
  • Loading branch information
plebhash authored Dec 10, 2024
2 parents b32485d + 756c9d7 commit 04caafb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion roles/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion roles/jd-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jd_client"
version = "0.1.1"
version = "0.1.2"
authors = ["The Stratum V2 Developers"]
edition = "2021"
description = "Job Declarator Client (JDC) role"
Expand Down
2 changes: 1 addition & 1 deletion roles/jd-client/src/lib/downstream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ impl
.unwrap()
{
OnNewShare::SendErrorDownstream(s) => {
error!("Share do not meet downstream target");
error!("Share does not meet the downstream target");
Ok(SendTo::Respond(Mining::SubmitSharesError(s)))
}
OnNewShare::SendSubmitShareUpstream((m, Some(template_id))) => {
Expand Down
2 changes: 1 addition & 1 deletion roles/jd-client/src/lib/upstream_sv2/upstream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ impl ParseUpstreamMiningMessages<Downstream, NullDownstreamMiningSelector, NoRou
&mut self,
_: roles_logic_sv2::mining_sv2::SetNewPrevHash,
) -> Result<roles_logic_sv2::handlers::mining::SendTo<Downstream>, RolesLogicError> {
warn!("SNPH received from upstream, proxy ignore it, and use the one declared by JOB DECLARATOR");
warn!("SNPH received from upstream, proxy ignored it, and used the one declared by JDC");
Ok(SendTo::None(None))
}

Expand Down

0 comments on commit 04caafb

Please sign in to comment.