fix(dsproof): Adding documentation

This commit is contained in:
Chris Troutner
2021-06-22 15:47:22 -07:00
parent c30e76c942
commit 8c5f1e2274
2 changed files with 37 additions and 3 deletions
+5 -1
View File
@@ -2,6 +2,8 @@
Integration tests for bchjs dsproof library.
*/
const assert = require('chai').assert
const BCHJS = require('../../../../src/bch-js')
const bchjs = new BCHJS()
@@ -15,7 +17,9 @@ describe('#DSProof', () => {
const txid =
'ee0df780b58f6f24467605b2589c44c3a50fc849fb8f91b89669a4ae0d86bc7e'
const result = await bchjs.DSProof.getDSProof(txid)
console.log(`result: ${JSON.stringify(result, null, 2)}`)
// console.log(`result: ${JSON.stringify(result, null, 2)}`)
assert.equal(result, null)
})
})
})