fix(ninsight): Remove test and support for ninsight

This commit is contained in:
Chris Troutner
2020-03-07 18:04:04 -08:00
parent ed1d3c1c0b
commit f23958429f
2 changed files with 19 additions and 19 deletions
+18 -18
View File
@@ -11,23 +11,23 @@ describe(`#Ninsight`, () => {
afterEach(() => sandbox.restore())
describe(`#utxo`, () => {
it(`should GET utxos for a single address`, async () => {
const addr = "bitcoincash:qqh793x9au6ehvh7r2zflzguanlme760wuzehgzjh9"
const result = await bchjs.Ninsight.utxo(addr)
// console.log(`result: ${JSON.stringify(result, null, 2)}`)
assert.isArray(result)
assert.property(result[0], "address")
assert.property(result[0], "txid")
assert.property(result[0], "vout")
assert.property(result[0], "scriptPubKey")
assert.property(result[0], "amount")
assert.property(result[0], "satoshis")
assert.isNumber(result[0].satoshis)
assert.property(result[0], "height")
assert.property(result[0], "confirmations")
})
// it(`should GET utxos for a single address`, async () => {
// const addr = "bitcoincash:qqh793x9au6ehvh7r2zflzguanlme760wuzehgzjh9"
//
// const result = await bchjs.Ninsight.utxo(addr)
// // console.log(`result: ${JSON.stringify(result, null, 2)}`)
//
// assert.isArray(result)
//
// assert.property(result[0], "address")
// assert.property(result[0], "txid")
// assert.property(result[0], "vout")
// assert.property(result[0], "scriptPubKey")
// assert.property(result[0], "amount")
// assert.property(result[0], "satoshis")
// assert.isNumber(result[0].satoshis)
// assert.property(result[0], "height")
// assert.property(result[0], "confirmations")
// })
})
})
+1 -1
View File
@@ -107,7 +107,7 @@ describe("#SLP TokenType1", () => {
assert.equal(result.script[6].length, 8)
})
it("#should generate good OP_RETURN for problematic TX", () => {
it("should generate good OP_RETURN for problematic TX", () => {
const utxo1 = {
txid:
"35287aa2aa7d3f1954fbbcb8a748d8773359b4f2771a851959a4a6116bcb552c",