Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit 4269867

Browse files
committed
remove unnecessary assertion
1 parent 673cde6 commit 4269867

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ethcore/src/snapshot/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ fn write_chunk(raw_data: &[u8], compression_buffer: &mut Vec<u8>, path: &Path) -
8484
let compressed = &compression_buffer[..compressed_size];
8585
let hash = compressed.sha3();
8686

87-
assert!(snappy::validate_compressed_buffer(compressed));
88-
8987
let mut file_path = path.to_owned();
9088
file_path.push(hash.hex());
9189

0 commit comments

Comments
 (0)