Merge rust-bitcoin/rust-bitcoin#2151: Do trivial docs fixes
d6298fe711
Use capital B for Bitcoin in rustdoc (Tobin C. Harding)bcfabc3556
Fix typo, missing word (Tobin C. Harding) Pull request description: In an effort to make review merge quicker push these two changes up as a separate PR. Totally trivial. ACKs for top commit: Kixunil: ACKd6298fe711
apoelstra: ACKd6298fe711
Tree-SHA512: 34635ecd87c918f106694a81f50e69dda233000ac616557744466eb58422a2742f35cadbb059f0f81449efd2f61a37ceb71840bf216009914ba2162834e13fc6
This commit is contained in:
commit
df28e2f679
|
@ -2,7 +2,7 @@
|
|||
|
||||
//! ECDSA Bitcoin signatures.
|
||||
//!
|
||||
//! This module provides ECDSA signatures used Bitcoin that can be roundtrip (de)serialized.
|
||||
//! This module provides ECDSA signatures used by Bitcoin that can be roundtrip (de)serialized.
|
||||
|
||||
use core::str::FromStr;
|
||||
use core::{fmt, iter};
|
||||
|
@ -29,7 +29,7 @@ pub struct Signature {
|
|||
}
|
||||
|
||||
impl Signature {
|
||||
/// Constructs an ECDSA bitcoin signature for [`EcdsaSighashType::All`].
|
||||
/// Constructs an ECDSA Bitcoin signature for [`EcdsaSighashType::All`].
|
||||
pub fn sighash_all(sig: secp256k1::ecdsa::Signature) -> Signature {
|
||||
Signature { sig, hash_ty: EcdsaSighashType::All }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue