We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddbeeb8 commit ebe709cCopy full SHA for ebe709c
packages/wasm-miniscript/test/psbt.ts
@@ -47,7 +47,7 @@ function describeUpdateInputWithDescriptor(
47
const descriptorStr = getDescriptorForScriptType(rootWalletKeys, scriptType, "internal");
48
const index = 0;
49
const descriptor = Descriptor.fromString(descriptorStr, "derivable");
50
- const wrappedPsbt = toWrappedPsbt(toPsbtWithPrevOutOnly(psbt));
+ const wrappedPsbt = toWrappedPsbt(psbt);
51
wrappedPsbt.updateInputWithDescriptor(0, descriptor.atDerivationIndex(index));
52
const updatedPsbt = toUtxoPsbt(wrappedPsbt);
53
updatedPsbt.signAllInputsHD(rootWalletKeys.triple[0]);
0 commit comments