fix(comments): Commenting out debug info

This commit is contained in:
Chris Troutner
2021-02-09 15:07:52 -08:00
parent 5a16e69719
commit ec0ef24508
+4 -1
View File
@@ -17,6 +17,7 @@ const wlogger = require('../../util/winston-logging')
const LOCAL_RESTURL = process.env.LOCAL_RESTURL const LOCAL_RESTURL = process.env.LOCAL_RESTURL
? process.env.LOCAL_RESTURL ? process.env.LOCAL_RESTURL
: 'https://api.fullstack.cash/v4/' : 'https://api.fullstack.cash/v4/'
const BCHJS = require('@psf/bch-js') const BCHJS = require('@psf/bch-js')
// const BCHJS = require('../../../../bch-js') // const BCHJS = require('../../../../bch-js')
const bchjs = new BCHJS({ restURL: LOCAL_RESTURL }) const bchjs = new BCHJS({ restURL: LOCAL_RESTURL })
@@ -1307,6 +1308,7 @@ class Slp {
async validate3Single (req, res, next) { async validate3Single (req, res, next) {
try { try {
const txid = req.params.txid const txid = req.params.txid
// console.log('validate3Single txid: ', txid)
// Validate input // Validate input
if (!txid || txid === '') { if (!txid || txid === '') {
@@ -1388,6 +1390,7 @@ class Slp {
async validate3Bulk (req, res, next) { async validate3Bulk (req, res, next) {
try { try {
const txids = req.body.txids const txids = req.body.txids
// console.log(`validate3Bulk txids: `, txids)
// Reject if txids is not an array. // Reject if txids is not an array.
if (!Array.isArray(txids)) { if (!Array.isArray(txids)) {
@@ -1987,7 +1990,7 @@ class Slp {
// Get SLP token details. // Get SLP token details.
const details = await _this.bchjs.SLP.Utils.tokenUtxoDetails(theseUtxos) const details = await _this.bchjs.SLP.Utils.tokenUtxoDetails(theseUtxos)
// console.log('details : ', details) // console.log('details: ', details)
// Replace the original UTXO data with the hydrated data. // Replace the original UTXO data with the hydrated data.
utxos[i].utxos = details utxos[i].utxos = details