Skip to content

Commit 02d13f8

Browse files
fix(utxo-lib): remove unnecessary assertion
It causes a type error in typescript 5 Issue: BTC-1450
1 parent 4d30786 commit 02d13f8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

modules/utxo-lib/test/bitgo/psbt/psbtUtil.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ export function validatePsbtParsing(
145145
} else {
146146
const psbtParsed = parsePsbtInput(psbt.data.inputs[i]);
147147
assert.strictEqual(psbtParsed.scriptType, scriptType === 'p2tr' ? 'taprootScriptPathSpend' : scriptType);
148-
assert.ok(psbtParsed.scriptType !== 'p2shP2pk');
149148
const txParsed = parseSignatureScript2Of3(tx.ins[i]);
150149
validateScript(psbtParsed, txParsed);
151150
validatePublicKeys(psbtParsed, txParsed);

0 commit comments

Comments
 (0)