We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a3aff7 commit 33eb335Copy full SHA for 33eb335
2 files changed
scripts/opcodes.sh
@@ -2,10 +2,6 @@
2
3
OP_CHECKTEMPLATEVERIFY
4
5
-## op cat
6
-
7
-OP_CAT
8
9
## op sha256
10
11
OP_SHA256
src/dlc/covenants.js
@@ -90,7 +90,7 @@ async function runDLC() {
90
runDLC().catch(console.error);
91
92
// Bitcoin script
93
-const script = Script.fromOps([OP_CTV]); // Assuming fromOps takes an array of opcodes.
+const script = Script.fromOps([OP_CHECKTEMPLATEVERIFY]); // Assuming fromOps takes an array of opcodes.
94
const tx = new TransactionBuilder();
95
tx.addInput('prev-tx-hash', 0); // Example previous transaction input.
96
tx.addOutput(script, amount); // Set your custom script as the output.
0 commit comments