fixed typos

This commit is contained in:
debris 2015-12-21 15:25:58 +01:00
parent 49fa99ae05
commit 4b20cfaf42
1 changed files with 3 additions and 3 deletions

View File

@ -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<BestBlock>,
@ -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<Vec<Transaction>> {
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<Vec<Header>> {
self.block(hash).map(|bytes| BlockView::new(&bytes).uncles())
}