From 17a60920cb52fc7f5cfd0d5129748024f3847fb5 Mon Sep 17 00:00:00 2001 From: Robert Habermeier Date: Tue, 14 Jun 2016 19:14:41 +0200 Subject: [PATCH] adjust comments --- ethcore/src/snapshot/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ethcore/src/snapshot/mod.rs b/ethcore/src/snapshot/mod.rs index 3dfc043e2..5d20c61b4 100644 --- a/ethcore/src/snapshot/mod.rs +++ b/ethcore/src/snapshot/mod.rs @@ -88,7 +88,7 @@ struct BlockChunker<'a> { } impl<'a> BlockChunker<'a> { - // Try to fill the buffers, moving backwards from current block hash. + // Repeatedly fill the buffers and writes out chunks, moving backwards from starting block hash. // Loops until we reach the genesis, and writes out the remainder. fn chunk_all(&mut self, genesis_hash: H256, path: &Path) -> Result<(), Error> { let mut loaded_size = 0; @@ -122,8 +122,8 @@ impl<'a> BlockChunker<'a> { } if loaded_size != 0 { - // we don't store the genesis hash, so once we get to this point, - // the "first" block will have number 1. + // we don't store the genesis block, so once we get to this point, + // the "first" block will be number 1. try!(self.write_chunk(genesis_hash, 1, path)); }