File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -294,9 +294,9 @@ class Psbt {
294
294
input ,
295
295
script ,
296
296
isSegwit ,
297
- isTapscript ,
298
297
isP2SH ,
299
298
isP2WSH ,
299
+ isTapscript ,
300
300
this . __CACHE . __EC_LIB ,
301
301
) ;
302
302
if ( finalScriptSig ) this . data . updateInput ( inputIndex , { finalScriptSig } ) ;
@@ -932,9 +932,9 @@ function getFinalScripts(
932
932
input ,
933
933
script ,
934
934
isSegwit ,
935
- isTapscript ,
936
935
isP2SH ,
937
936
isP2WSH ,
937
+ isTapscript = false ,
938
938
eccLib ,
939
939
) {
940
940
const scriptType = classifyScript ( script , eccLib ) ;
Original file line number Diff line number Diff line change @@ -439,7 +439,6 @@ function csvGetFinalScripts(
439
439
input : PsbtInput ,
440
440
script : Buffer ,
441
441
isSegwit : boolean ,
442
- _isTapscript : boolean ,
443
442
isP2SH : boolean ,
444
443
isP2WSH : boolean ,
445
444
) : {
Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ const buildTapscriptFinalizer = (
17
17
input : PsbtInput ,
18
18
script : Buffer ,
19
19
_isSegwit : boolean ,
20
- _isTapscript : boolean ,
21
20
_isP2SH : boolean ,
22
21
_isP2WSH : boolean ,
22
+ _isTapscript : boolean ,
23
23
eccLib ?: TinySecp256k1Interface ,
24
24
) : {
25
25
finalScriptSig : Buffer | undefined ;
Original file line number Diff line number Diff line change @@ -372,9 +372,9 @@ export class Psbt {
372
372
input ,
373
373
script ,
374
374
isSegwit ,
375
- isTapscript ,
376
375
isP2SH ,
377
376
isP2WSH ,
377
+ isTapscript ,
378
378
this . __CACHE . __EC_LIB ,
379
379
) ;
380
380
@@ -1236,9 +1236,9 @@ function getFinalScripts(
1236
1236
input : PsbtInput ,
1237
1237
script : Buffer ,
1238
1238
isSegwit : boolean ,
1239
- isTapscript : boolean ,
1240
1239
isP2SH : boolean ,
1241
1240
isP2WSH : boolean ,
1241
+ isTapscript : boolean = false ,
1242
1242
eccLib ?: TinySecp256k1Interface ,
1243
1243
) : {
1244
1244
finalScriptSig : Buffer | undefined ;
You can’t perform that action at this time.
0 commit comments