mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-21 16:52:04 -07:00
Minor updates
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
@@ -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"])
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user