mirror of
https://github.com/mimblewimble/grin.git
synced 2025-03-13 20:41:08 +03:00
Removed annoying warning during the build (#420)
This commit is contained in:
parent
7ef752f61c
commit
1a86900bac
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
use rand::{self, Rng};
|
use rand::{self, Rng};
|
||||||
use std::sync::{Arc, RwLock};
|
use std::sync::{Arc, RwLock};
|
||||||
use std::{str, thread};
|
use std::thread;
|
||||||
use std;
|
use std;
|
||||||
use time;
|
use time;
|
||||||
|
|
||||||
|
@ -588,7 +588,7 @@ impl Miner {
|
||||||
let result=self.chain.set_sumtree_roots(&mut b);
|
let result=self.chain.set_sumtree_roots(&mut b);
|
||||||
match result {
|
match result {
|
||||||
Ok(_) => Ok((b, block_fees)),
|
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
|
//a key that's already been derived but not in the wallet
|
||||||
//for some reason, allow caller to retry
|
//for some reason, allow caller to retry
|
||||||
Err(chain::Error::DuplicateCommitment(e)) =>
|
Err(chain::Error::DuplicateCommitment(e)) =>
|
||||||
|
|
Loading…
Reference in a new issue