Skip to content

Commit 94f5291

Browse files
junderwmotorina0
authored andcommitted
Fix integration test
1 parent 8b4cee9 commit 94f5291

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/integration/taproot.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,8 @@ function buildLeafIndexFinalizer(
576576
} => {
577577
try {
578578
const scriptSolution = [
579-
bitcoin.script.fromASM(`OP_${leafIndex} OP_${leafIndex}`),
579+
Buffer.from([leafIndex]),
580+
Buffer.from([leafIndex]),
580581
];
581582
const witness = scriptSolution
582583
.concat(tapLeafScript.script)

0 commit comments

Comments
 (0)