2024-06-02 automated rustfmt nightly
This commit is contained in:
parent
ee68e80315
commit
07ef78ea96
|
@ -245,17 +245,17 @@ pub enum AddressData {
|
||||||
/// Data encoded by a P2PKH address.
|
/// Data encoded by a P2PKH address.
|
||||||
P2pkh {
|
P2pkh {
|
||||||
/// The pubkey hash used to encumber outputs to this address.
|
/// The pubkey hash used to encumber outputs to this address.
|
||||||
pubkey_hash: PubkeyHash
|
pubkey_hash: PubkeyHash,
|
||||||
},
|
},
|
||||||
/// Data encoded by a P2SH address.
|
/// Data encoded by a P2SH address.
|
||||||
P2sh {
|
P2sh {
|
||||||
/// The script hash used to encumber outputs to this address.
|
/// The script hash used to encumber outputs to this address.
|
||||||
script_hash: ScriptHash
|
script_hash: ScriptHash,
|
||||||
},
|
},
|
||||||
/// Data encoded by a Segwit address.
|
/// Data encoded by a Segwit address.
|
||||||
Segwit {
|
Segwit {
|
||||||
/// The witness program used to encumber outputs to this address.
|
/// The witness program used to encumber outputs to this address.
|
||||||
witness_program: WitnessProgram
|
witness_program: WitnessProgram,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,12 +5,11 @@
|
||||||
//! Implementation based on RFC5869, but the interface is scoped
|
//! Implementation based on RFC5869, but the interface is scoped
|
||||||
//! to BIP324's requirements.
|
//! to BIP324's requirements.
|
||||||
|
|
||||||
use core::fmt;
|
|
||||||
|
|
||||||
#[cfg(all(feature = "alloc", not(feature = "std")))]
|
#[cfg(all(feature = "alloc", not(feature = "std")))]
|
||||||
use alloc::vec;
|
use alloc::vec;
|
||||||
#[cfg(all(feature = "alloc", not(feature = "std")))]
|
#[cfg(all(feature = "alloc", not(feature = "std")))]
|
||||||
use alloc::vec::Vec;
|
use alloc::vec::Vec;
|
||||||
|
use core::fmt;
|
||||||
|
|
||||||
use crate::{Hash, HashEngine, Hmac, HmacEngine};
|
use crate::{Hash, HashEngine, Hmac, HmacEngine};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue