Skip to content

Commit ebe709c

Browse files
fix: remove unnecessary call toPsbtWithPrevOutOnly
Issue: BTC-1459
1 parent ddbeeb8 commit ebe709c

File tree

1 file changed

+1
-1
lines changed
  • packages/wasm-miniscript/test

1 file changed

+1
-1
lines changed

packages/wasm-miniscript/test/psbt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function describeUpdateInputWithDescriptor(
4747
const descriptorStr = getDescriptorForScriptType(rootWalletKeys, scriptType, "internal");
4848
const index = 0;
4949
const descriptor = Descriptor.fromString(descriptorStr, "derivable");
50-
const wrappedPsbt = toWrappedPsbt(toPsbtWithPrevOutOnly(psbt));
50+
const wrappedPsbt = toWrappedPsbt(psbt);
5151
wrappedPsbt.updateInputWithDescriptor(0, descriptor.atDerivationIndex(index));
5252
const updatedPsbt = toUtxoPsbt(wrappedPsbt);
5353
updatedPsbt.signAllInputsHD(rootWalletKeys.triple[0]);

0 commit comments

Comments
 (0)