Cleaning up screen spam

This commit is contained in:
Chris Troutner
2022-10-06 20:33:36 -07:00
parent 91a7106818
commit 9d32f828bc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -520,7 +520,7 @@ class PsfSlpIndexer {
throw new Error('Input tokenId must be a string.') throw new Error('Input tokenId must be a string.')
} catch (error) { } catch (error) {
console.log('error: ', error) // console.log('error: ', error)
if (error.response && error.response.data) throw error.response.data if (error.response && error.response.data) throw error.response.data
else throw error else throw error
} }
@@ -163,7 +163,7 @@ describe('#psf-slp-indexer', () => {
// bchjs.PsfSlpIndexer.restURL = 'http://localhost:3000/v5/' // bchjs.PsfSlpIndexer.restURL = 'http://localhost:3000/v5/'
const result = await bchjs.PsfSlpIndexer.getTokenData2(tokenId) const result = await bchjs.PsfSlpIndexer.getTokenData2(tokenId)
console.log('result: ', result) // console.log('result: ', result)
assert.property(result, 'tokenStats') assert.property(result, 'tokenStats')
assert.property(result, 'mutableData') assert.property(result, 'mutableData')