Merge pull request #10 from Permissionless-Software-Foundation/ct-unstable

fix(console.logs()): Removing terminal noise
This commit is contained in:
Chris Troutner
2025-12-17 13:47:03 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ class FulcrumUseCases {
async getTransactionDetails ({ txid }) { async getTransactionDetails ({ txid }) {
try { try {
const response = await this.fulcrum.get(`electrumx/tx/data/${txid}`) const response = await this.fulcrum.get(`electrumx/tx/data/${txid}`)
console.log(`getTransactionDetails() TXID ${txid}: ${JSON.stringify(response, null, 2)}`) // console.log(`getTransactionDetails() TXID ${txid}: ${JSON.stringify(response, null, 2)}`)
return response return response
} catch (err) { } catch (err) {
wlogger.error('Error in FulcrumUseCases.getTransactionDetails()', err) wlogger.error('Error in FulcrumUseCases.getTransactionDetails()', err)
+1 -1
View File
@@ -274,7 +274,7 @@ class SlpUseCases {
// Get transaction data // Get transaction data
console.log('Decoding OP_RETURN for TXID: ', txid) console.log('Decoding OP_RETURN for TXID: ', txid)
const txData = await this.bchjs.Electrumx.txData(txid) const txData = await this.bchjs.Electrumx.txData(txid)
console.log(`TXID ${txid}: ${JSON.stringify(txData, null, 2)}`) // console.log(`TXID ${txid}: ${JSON.stringify(txData, null, 2)}`)
let data = false let data = false
// Map the vout of the transaction in search of an OP_RETURN // Map the vout of the transaction in search of an OP_RETURN