2025-04-13 automated rustfmt nightly
This commit is contained in:
parent
e2149ec4e9
commit
19c5fcc78f
|
@ -135,7 +135,9 @@ mod sealed {
|
|||
|
||||
/// Marker of status of address's network validation. See section [*Parsing addresses*](Address#parsing-addresses)
|
||||
/// on [`Address`] for details.
|
||||
pub trait NetworkValidation: sealed::NetworkValidation + Sync + Send + Sized + Unpin + Copy {
|
||||
pub trait NetworkValidation:
|
||||
sealed::NetworkValidation + Sync + Send + Sized + Unpin + Copy
|
||||
{
|
||||
/// Indicates whether this `NetworkValidation` is `NetworkChecked` or not.
|
||||
const IS_CHECKED: bool;
|
||||
}
|
||||
|
|
|
@ -83,11 +83,8 @@ fn psbt_sign_taproot() {
|
|||
//
|
||||
// Step 1: create psbt for key path spend.
|
||||
//
|
||||
let mut psbt_key_path_spend = create_psbt_for_taproot_key_path_spend(
|
||||
address,
|
||||
to_address,
|
||||
tree.clone(),
|
||||
);
|
||||
let mut psbt_key_path_spend =
|
||||
create_psbt_for_taproot_key_path_spend(address, to_address, tree.clone());
|
||||
|
||||
//
|
||||
// Step 2: sign psbt.
|
||||
|
|
|
@ -696,7 +696,7 @@ mod test {
|
|||
fn witness_from_array_impl() {
|
||||
const DATA_1: [u8; 3] = [1, 2, 3];
|
||||
const DATA_2: [u8; 3] = [4, 5, 6];
|
||||
let witness = Witness::from_slice(&[DATA_1, DATA_2]);
|
||||
let witness = Witness::from_slice(&[DATA_1, DATA_2]);
|
||||
|
||||
let witness_from_array_ref = Witness::from(&[DATA_1, DATA_2]);
|
||||
let witness_from_array_of_refs = Witness::from([&DATA_1, &DATA_2]);
|
||||
|
|
Loading…
Reference in New Issue