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)
|
/// Marker of status of address's network validation. See section [*Parsing addresses*](Address#parsing-addresses)
|
||||||
/// on [`Address`] for details.
|
/// 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.
|
/// Indicates whether this `NetworkValidation` is `NetworkChecked` or not.
|
||||||
const IS_CHECKED: bool;
|
const IS_CHECKED: bool;
|
||||||
}
|
}
|
||||||
|
|
|
@ -83,11 +83,8 @@ fn psbt_sign_taproot() {
|
||||||
//
|
//
|
||||||
// Step 1: create psbt for key path spend.
|
// Step 1: create psbt for key path spend.
|
||||||
//
|
//
|
||||||
let mut psbt_key_path_spend = create_psbt_for_taproot_key_path_spend(
|
let mut psbt_key_path_spend =
|
||||||
address,
|
create_psbt_for_taproot_key_path_spend(address, to_address, tree.clone());
|
||||||
to_address,
|
|
||||||
tree.clone(),
|
|
||||||
);
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Step 2: sign psbt.
|
// Step 2: sign psbt.
|
||||||
|
|
Loading…
Reference in New Issue