From 263654e966624a3e2acd37bb621a18c1626120ae Mon Sep 17 00:00:00 2001 From: debris Date: Mon, 21 Dec 2015 16:53:07 +0100 Subject: [PATCH] updated comments --- src/blockchain.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blockchain.rs b/src/blockchain.rs index 020d169ef..8e662faaf 100644 --- a/src/blockchain.rs +++ b/src/blockchain.rs @@ -41,7 +41,7 @@ pub struct CacheSize { pub blocks_blooms: usize } -/// Grouped information about best block +/// Information about best block gathered together struct BestBlock { pub hash: H256, pub number: U256, @@ -351,7 +351,7 @@ impl BlockChain { batch.put_extras(&(start_number + U256::from(index as u64)), hash); } }, - // route.len() could be 0 only if inserted block is best block, + // route.blocks.len() could be 0 only if inserted block is best block, // and this is not possible at this stage _ => { unreachable!(); } };