From 1a86900bac7ea93cfa211a84a6c3bb83694be86c Mon Sep 17 00:00:00 2001 From: Marco Tanzi Date: Sun, 3 Dec 2017 22:48:46 +0000 Subject: [PATCH] Removed annoying warning during the build (#420) --- grin/src/miner.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grin/src/miner.rs b/grin/src/miner.rs index 0e21b14a4..716c01766 100644 --- a/grin/src/miner.rs +++ b/grin/src/miner.rs @@ -17,7 +17,7 @@ use rand::{self, Rng}; use std::sync::{Arc, RwLock}; -use std::{str, thread}; +use std::thread; use std; use time; @@ -588,7 +588,7 @@ impl Miner { let result=self.chain.set_sumtree_roots(&mut b); match result { Ok(_) => Ok((b, block_fees)), - //If it's a duplicate commitment, it's likely trying to use + //If it's a duplicate commitment, it's likely trying to use //a key that's already been derived but not in the wallet //for some reason, allow caller to retry Err(chain::Error::DuplicateCommitment(e)) =>