diff --git a/README.md b/README.md index dfbf6f0..f80452b 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ utxo based calls. - Audit all npm dependencies and try to fix/remove any vulnerabilities. -- Remove rate limiting. +- Remove rate limiting - Setup automated dependency management through Greenkeeper, and automated continuous-release with semantic versioning through Semantic Release. diff --git a/src/routes/v2/slp.ts b/src/routes/v2/slp.ts index 4f2114a..bd778ee 100644 --- a/src/routes/v2/slp.ts +++ b/src/routes/v2/slp.ts @@ -1272,9 +1272,11 @@ async function txDetails( else tmpSLP = new SLPSDK({ restURL: process.env.REST_URL }) const tmpbitboxNetwork = new slp.BitboxNetwork(tmpSLP, slpValidator) + console.log(`tmpbitboxNetwork: ${JSON.stringify(tmpbitboxNetwork,null,2)}`) // Get TX info + token info const result = await tmpbitboxNetwork.getTransactionDetails(txid) + console.log(`result: ${JSON.stringify(result,null,2)}`) res.status(200) return res.json(result) diff --git a/test/v2/slp.js b/test/v2/slp.js index 69583bf..20d5d3a 100644 --- a/test/v2/slp.js +++ b/test/v2/slp.js @@ -913,7 +913,7 @@ describe("#SLP", () => { "57b3082a2bf269b3d6f40fee7fb9c664e8256a88ca5ee2697c05b9457822d446" const result = await txDetails(req, res) - //console.log(`result: ${JSON.stringify(result, null, 2)}`) + console.log(`result: ${JSON.stringify(result, null, 2)}`) assert.hasAnyKeys(result, ["tokenIsValid", "tokenInfo"]) })