Minor updates

This commit is contained in:
Chris Troutner
2019-05-27 19:42:44 -07:00
parent 3d99d516c2
commit 68c1fc26b9
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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.
+2
View File
@@ -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)
+1 -1
View File
@@ -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"])
})