Skip to content

Commit 8520223

Browse files
fixup! feat: add updateOutputWithDescriptor to WrapPsbt
1 parent f4c5db2 commit 8520223

File tree

1 file changed

+3
-3
lines changed
  • packages/wasm-miniscript/src

1 file changed

+3
-3
lines changed

packages/wasm-miniscript/src/psbt.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ impl WrapPsbt {
5757
WrapDescriptorEnum::Derivable(_, _) => Err(JsError::new(
5858
"Cannot update output with a derivable descriptor",
5959
)),
60-
WrapDescriptorEnum::String(_) => {
61-
Err(JsError::new("Cannot update output with a string descriptor"))
62-
}
60+
WrapDescriptorEnum::String(_) => Err(JsError::new(
61+
"Cannot update output with a string descriptor",
62+
)),
6363
}
6464
}
6565

0 commit comments

Comments
 (0)