mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 11:31:08 +03:00
Fix duplicate nonce in message, run rustfmt (#2187)
This commit is contained in:
parent
df671a8adb
commit
2ca69498de
1 changed files with 2 additions and 3 deletions
|
@ -13,9 +13,9 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
//! Mining Stratum Server
|
//! Mining Stratum Server
|
||||||
use crate::util::{Mutex, RwLock};
|
|
||||||
use bufstream::BufStream;
|
use bufstream::BufStream;
|
||||||
use chrono::prelude::Utc;
|
use chrono::prelude::Utc;
|
||||||
|
use crate::util::{Mutex, RwLock};
|
||||||
use serde;
|
use serde;
|
||||||
use serde_json;
|
use serde_json;
|
||||||
use serde_json::Value;
|
use serde_json::Value;
|
||||||
|
@ -530,10 +530,9 @@ impl StratumServer {
|
||||||
if !pow::verify_size(&b.header).is_ok() {
|
if !pow::verify_size(&b.header).is_ok() {
|
||||||
// Return error status
|
// Return error status
|
||||||
error!(
|
error!(
|
||||||
"(Server ID: {}) Failed to validate share at height {}, nonce {}, hash {}, with {} edge_bits with nonce {} using job_id {}",
|
"(Server ID: {}) Failed to validate share at height {}, hash {}, with {} edge_bits with nonce {} using job_id {}",
|
||||||
self.id,
|
self.id,
|
||||||
params.height,
|
params.height,
|
||||||
params.nonce,
|
|
||||||
b.hash(),
|
b.hash(),
|
||||||
params.edge_bits,
|
params.edge_bits,
|
||||||
b.header.pow.nonce,
|
b.header.pow.nonce,
|
||||||
|
|
Loading…
Reference in a new issue