diff --git a/roles/Cargo.lock b/roles/Cargo.lock index 5f834dd456..d3fb2df942 100644 --- a/roles/Cargo.lock +++ b/roles/Cargo.lock @@ -1379,7 +1379,7 @@ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "jd_client" -version = "0.1.1" +version = "0.1.2" dependencies = [ "async-channel 1.9.0", "async-recursion 0.3.2", diff --git a/roles/jd-client/Cargo.toml b/roles/jd-client/Cargo.toml index 1cb07ed7c7..1efd666b9b 100644 --- a/roles/jd-client/Cargo.toml +++ b/roles/jd-client/Cargo.toml @@ -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" diff --git a/roles/jd-client/src/lib/downstream.rs b/roles/jd-client/src/lib/downstream.rs index 82a8076022..c5d49d304f 100644 --- a/roles/jd-client/src/lib/downstream.rs +++ b/roles/jd-client/src/lib/downstream.rs @@ -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))) => { diff --git a/roles/jd-client/src/lib/upstream_sv2/upstream.rs b/roles/jd-client/src/lib/upstream_sv2/upstream.rs index db580f563b..4877f44e77 100644 --- a/roles/jd-client/src/lib/upstream_sv2/upstream.rs +++ b/roles/jd-client/src/lib/upstream_sv2/upstream.rs @@ -699,7 +699,7 @@ impl ParseUpstreamMiningMessages Result, 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)) }