Skip to content

Commit 33eb335

Browse files
committed
Fix
1 parent 4a3aff7 commit 33eb335

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

scripts/opcodes.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
OP_CHECKTEMPLATEVERIFY
44

5-
## op cat
6-
7-
OP_CAT
8-
95
## op sha256
106

117
OP_SHA256

src/dlc/covenants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ async function runDLC() {
9090
runDLC().catch(console.error);
9191

9292
// Bitcoin script
93-
const script = Script.fromOps([OP_CTV]); // Assuming fromOps takes an array of opcodes.
93+
const script = Script.fromOps([OP_CHECKTEMPLATEVERIFY]); // Assuming fromOps takes an array of opcodes.
9494
const tx = new TransactionBuilder();
9595
tx.addInput('prev-tx-hash', 0); // Example previous transaction input.
9696
tx.addOutput(script, amount); // Set your custom script as the output.

0 commit comments

Comments
 (0)