Skip to content

Commit fe8bf0f

Browse files
Fmt Botgithub-actions[bot]
authored andcommitted
2025-04-13 automated rustfmt nightly
1 parent c5b1b31 commit fe8bf0f

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

bitcoin/src/address/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ mod sealed {
135135

136136
/// Marker of status of address's network validation. See section [*Parsing addresses*](Address#parsing-addresses)
137137
/// on [`Address`] for details.
138-
pub trait NetworkValidation: sealed::NetworkValidation + Sync + Send + Sized + Unpin + Copy {
138+
pub trait NetworkValidation:
139+
sealed::NetworkValidation + Sync + Send + Sized + Unpin + Copy
140+
{
139141
/// Indicates whether this `NetworkValidation` is `NetworkChecked` or not.
140142
const IS_CHECKED: bool;
141143
}

bitcoin/tests/psbt-sign-taproot.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,8 @@ fn psbt_sign_taproot() {
8383
//
8484
// Step 1: create psbt for key path spend.
8585
//
86-
let mut psbt_key_path_spend = create_psbt_for_taproot_key_path_spend(
87-
address,
88-
to_address,
89-
tree.clone(),
90-
);
86+
let mut psbt_key_path_spend =
87+
create_psbt_for_taproot_key_path_spend(address, to_address, tree.clone());
9188

9289
//
9390
// Step 2: sign psbt.

0 commit comments

Comments
 (0)