Build fix.
This commit is contained in:
@@ -202,11 +202,10 @@ impl Chain {
|
|||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
|
||||||
let block = self.last_full_block.unwrap();
|
let block = match self.last_full_block {
|
||||||
if block.transaction.is_none() {
|
None => { return None; }
|
||||||
trace!("No need to mine signing block");
|
Some(ref block) => { block.clone() }
|
||||||
return None;
|
};
|
||||||
}
|
|
||||||
let keystore = keystore.clone().unwrap().clone();
|
let keystore = keystore.clone().unwrap().clone();
|
||||||
let signers: HashSet<Bytes> = self.get_block_signers(&block).into_iter().collect();
|
let signers: HashSet<Bytes> = self.get_block_signers(&block).into_iter().collect();
|
||||||
if signers.contains(&keystore.get_public()) {
|
if signers.contains(&keystore.get_public()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user