Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions packages/ordinalsplus/src/transactions/reveal-transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ export async function createRevealTransaction(params: RevealTransactionParams):
ORDINAL_CUSTOM_SCRIPTS
);

console.log(`[DEBUG-REVEAL-FIX] Using PRE-CALCULATED commit script for witness: ${Buffer.from(commitScript).toString('hex')}`);
console.log(`[DEBUG-REVEAL-FIX] Expected Commit Address from prep: ${commitAddress}`);
console.log(`[DEBUG-REVEAL-FIX] Reveal Payment Script (for input): ${revealPayment.script ? Buffer.from(revealPayment.script).toString('hex') : 'undefined'}`);
// Log the entire revealPayment object to inspect its structure for tapleaf info
Expand All @@ -177,9 +176,9 @@ export async function createRevealTransaction(params: RevealTransactionParams):
...revealPayment,
txid: selectedUTXO.txid,
index: selectedUTXO.vout,
witnessUtxo: {
witnessUtxo: {
script: commitScript,
amount: inputAmount
amount: inputAmount
},
// Removed incorrect redeemScript property.
// We need to inspect revealPayment object structure to find where
Expand Down