From 4269867ca422f96f8f0beeb1a8bed583de076a9f Mon Sep 17 00:00:00 2001 From: Robert Habermeier Date: Mon, 11 Jul 2016 19:56:27 +0200 Subject: [PATCH] remove unnecessary assertion --- ethcore/src/snapshot/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/ethcore/src/snapshot/mod.rs b/ethcore/src/snapshot/mod.rs index 44b720422..aff16b86e 100644 --- a/ethcore/src/snapshot/mod.rs +++ b/ethcore/src/snapshot/mod.rs @@ -84,8 +84,6 @@ fn write_chunk(raw_data: &[u8], compression_buffer: &mut Vec, path: &Path) - let compressed = &compression_buffer[..compressed_size]; let hash = compressed.sha3(); - assert!(snappy::validate_compressed_buffer(compressed)); - let mut file_path = path.to_owned(); file_path.push(hash.hex());