Skip to content

Commit 4d30786

Browse files
fix(utxo-lib): type errors in wallet/Psbt.ts
Issue: BTC-1450
1 parent 340efd9 commit 4d30786

File tree

1 file changed

+2
-0
lines changed
  • modules/utxo-lib/src/bitgo/wallet

1 file changed

+2
-0
lines changed

modules/utxo-lib/src/bitgo/wallet/Psbt.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ export function parsePsbtInput(input: PsbtInput): ParsedPsbtP2ms | ParsedPsbtTap
357357
return {
358358
...parsedPubScript,
359359
...signatures,
360+
scriptType: parsedPubScript.scriptType,
360361
};
361362
}
362363
if (parsedPubScript.scriptType === 'taprootScriptPathSpend') {
@@ -372,6 +373,7 @@ export function parsePsbtInput(input: PsbtInput): ParsedPsbtP2ms | ParsedPsbtTap
372373
return {
373374
...parsedPubScript,
374375
...signatures,
376+
scriptType: parsedPubScript.scriptType,
375377
controlBlock,
376378
scriptPathLevel,
377379
leafVersion,

0 commit comments

Comments
 (0)