diff --git a/bitcoin/src/crypto/ecdsa.rs b/bitcoin/src/crypto/ecdsa.rs index e982e522..14251fac 100644 --- a/bitcoin/src/crypto/ecdsa.rs +++ b/bitcoin/src/crypto/ecdsa.rs @@ -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 } }