diff --git a/src/blockchain.rs b/src/blockchain.rs index 79e22ed02..9614e8ba5 100644 --- a/src/blockchain.rs +++ b/src/blockchain.rs @@ -60,7 +60,7 @@ impl BestBlock { /// Structure providing fast access to blockchain data. /// -/// **Does not do input data verifycation.** +/// **Does not do input data verification.** pub struct BlockChain { best_block: RefCell, @@ -390,7 +390,7 @@ impl BlockChain { } /// Get a list of transactions for a given block. - /// Returns None is block deos not exist. + /// Returns None if block deos not exist. pub fn transactions(&self, hash: &H256) -> Option> { self.block(hash).map(|bytes| BlockView::new(&bytes).transactions()) } @@ -402,7 +402,7 @@ impl BlockChain { } /// Get a list of uncles for a given block. - /// Returns None is block deos not exist. + /// Returns None if block deos not exist. pub fn uncles(&self, hash: &H256) -> Option> { self.block(hash).map(|bytes| BlockView::new(&bytes).uncles()) }