io error handling and slight blockchunker refactoring

This commit is contained in:
Robert Habermeier
2016-06-13 16:21:23 +02:00
parent f478812441
commit 446d59426a
3 changed files with 45 additions and 27 deletions

View File

@@ -777,7 +777,7 @@ impl<V> BlockChainClient for Client<V> where V: Verifier {
let best_hash = best_header.hash();
let genesis_hash = self.chain.genesis_hash();
let block_chunk_hashes = BlockChunker::new(self, best_hash, genesis_hash).chunk_all(&path);
let block_chunk_hashes = BlockChunker::new(self, best_hash, genesis_hash).chunk_all(&path).unwrap();
let manifest_data = ManifestData {
state_hashes: state_hashes,