2025-04-13 automated rustfmt nightly

This commit is contained in:
Fmt Bot 2025-04-13 02:50:07 +00:00 committed by github-actions[bot]
parent e2149ec4e9
commit 19c5fcc78f
3 changed files with 6 additions and 7 deletions

View File

@ -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;
} }

View File

@ -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.