Fix typos and clarify some comment in blockdata, block, address (#230)

This commit is contained in:
ariard 2019-02-04 07:30:41 +01:00 committed by Tamás Blummer
parent 51aba8bb21
commit 51971dd533
3 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@
//! Bitcoin Block //! Bitcoin Block
//! //!
//! A block is a bundle of transactions with a proof-of-work attached, //! A block is a bundle of transactions with a proof-of-work attached,
//! which attaches to an earlier block to form the blockchain. This //! which commits to an earlier block to form the blockchain. This
//! module describes structures and functions needed to describe //! module describes structures and functions needed to describe
//! these blocks and the blockchain. //! these blocks and the blockchain.
//! //!

View File

@ -14,7 +14,7 @@
//! Blockdata //! Blockdata
//! //!
//! This module defines structions and functions for storing the blocks and //! This module defines structures and functions for storing the blocks and
//! transactions which make up the Bitcoin system. //! transactions which make up the Bitcoin system.
//! //!

View File

@ -119,7 +119,7 @@ impl Address {
} }
/// Creates a pay to script hash P2SH address from a script /// Creates a pay to script hash P2SH address from a script
/// This address type was introduced with BIP16 and is the popular ty implement multi-sig these days. /// This address type was introduced with BIP16 and is the popular type to implement multi-sig these days.
#[inline] #[inline]
pub fn p2sh(script: &script::Script, network: Network) -> Address { pub fn p2sh(script: &script::Script, network: Network) -> Address {
Address { Address {