Reverted some changes

This commit is contained in:
arkpar 2016-03-02 01:24:06 +01:00
parent 15ecba57ec
commit 324e070581
2 changed files with 2 additions and 3 deletions

View File

@ -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));

View File

@ -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"]);
} }