Merge rust-bitcoin/rust-bitcoin#4377: fix errors input.rs
55119c6a7b
fix errors input.rs (Fallengirl)
Pull request description:
hey team ! I found simple errors and fixed them
HSAH160 - HASH160
HAS256 - HASH256
ACKs for top commit:
apoelstra:
ACK 55119c6a7bdb92538728033652dc4d6a6c0a9220; successfully ran local tests
Tree-SHA512: 6f803ea290b4b7c3eb68fcea94fa5956bbe587c428a64c12388122a1c5c8d0a30489467bf464a6b701524990fbe4a9046072cbf6ec6800594c0e590d10744784
This commit is contained in:
commit
ddd27eddc4
|
@ -102,10 +102,10 @@ pub struct Input {
|
||||||
/// SHA256 hash to preimage map.
|
/// SHA256 hash to preimage map.
|
||||||
#[cfg_attr(feature = "serde", serde(with = "crate::serde_utils::btreemap_byte_values"))]
|
#[cfg_attr(feature = "serde", serde(with = "crate::serde_utils::btreemap_byte_values"))]
|
||||||
pub sha256_preimages: BTreeMap<sha256::Hash, Vec<u8>>,
|
pub sha256_preimages: BTreeMap<sha256::Hash, Vec<u8>>,
|
||||||
/// HSAH160 hash to preimage map.
|
/// HASH160 hash to preimage map.
|
||||||
#[cfg_attr(feature = "serde", serde(with = "crate::serde_utils::btreemap_byte_values"))]
|
#[cfg_attr(feature = "serde", serde(with = "crate::serde_utils::btreemap_byte_values"))]
|
||||||
pub hash160_preimages: BTreeMap<hash160::Hash, Vec<u8>>,
|
pub hash160_preimages: BTreeMap<hash160::Hash, Vec<u8>>,
|
||||||
/// HAS256 hash to preimage map.
|
/// HASH256 hash to preimage map.
|
||||||
#[cfg_attr(feature = "serde", serde(with = "crate::serde_utils::btreemap_byte_values"))]
|
#[cfg_attr(feature = "serde", serde(with = "crate::serde_utils::btreemap_byte_values"))]
|
||||||
pub hash256_preimages: BTreeMap<sha256d::Hash, Vec<u8>>,
|
pub hash256_preimages: BTreeMap<sha256d::Hash, Vec<u8>>,
|
||||||
/// Serialized Taproot signature with sighash type for key spend.
|
/// Serialized Taproot signature with sighash type for key spend.
|
||||||
|
|
Loading…
Reference in New Issue