Commit 1b0948d9 authored by deke997's avatar deke997 Committed by Andronik Ordian

Update lib.rs (#11286)

typo in stratum trace: pusing to pushing
parent 6e34ee68
Pipeline #69980 failed with stages
in 32 minutes and 16 seconds
......@@ -221,7 +221,7 @@ impl StratumImpl {
let workers_msg = format!("{{ \"id\": {}, \"method\": \"mining.notify\", \"params\": {} }}", next_request_id, payload);
trace!(target: "stratum", "pushing work for {} workers (payload: '{}')", workers.len(), &workers_msg);
for (addr, _) in workers.iter() {
trace!(target: "stratum", "pusing work to {}", addr);
trace!(target: "stratum", "pushing work to {}", addr);
match tcp_dispatcher.push_message(addr, workers_msg.clone()) {
Err(PushMessageError::NoSuchPeer) => {
trace!(target: "stratum", "Worker no longer connected: {}", addr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment