Typo fix: todo with no content (#8292)

This commit is contained in:
Wei Tang 2018-04-03 15:32:38 +08:00 committed by Niklas Adolfsson
parent 54c9c382e7
commit d477670cb9

View File

@ -311,7 +311,7 @@ impl TestBlockChainClient {
self.blocks.write().insert(hash, rlp.out()); self.blocks.write().insert(hash, rlp.out());
} }
/// TODO: /// Get block hash with `delta` as offset from the most recent blocks.
pub fn block_hash_delta_minus(&mut self, delta: usize) -> H256 { pub fn block_hash_delta_minus(&mut self, delta: usize) -> H256 {
let blocks_read = self.numbers.read(); let blocks_read = self.numbers.read();
let index = blocks_read.len() - delta; let index = blocks_read.len() - delta;