Reverted some changes
This commit is contained in:
parent
15ecba57ec
commit
324e070581
@ -302,8 +302,7 @@ impl BlockQueue {
|
|||||||
if self.processing.read().unwrap().contains(&h) {
|
if self.processing.read().unwrap().contains(&h) {
|
||||||
return Err(ImportError::AlreadyQueued);
|
return Err(ImportError::AlreadyQueued);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
|
||||||
let mut bad = self.verification.bad.lock().unwrap();
|
let mut bad = self.verification.bad.lock().unwrap();
|
||||||
if bad.contains(&h) {
|
if bad.contains(&h) {
|
||||||
return Err(ImportError::Bad(None));
|
return Err(ImportError::Bad(None));
|
||||||
|
@ -21,6 +21,6 @@
|
|||||||
extern crate gcc;
|
extern crate gcc;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
gcc::Config::new().file("src/tinykeccak.c").flag("-O3").compile("libtinykeccak.a");
|
gcc::compile_library("libtinykeccak.a", &["src/tinykeccak.c"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user