Fixed integration test for gettxout

This commit is contained in:
Chris Troutner
2019-11-13 08:40:37 -08:00
parent eb6b2e6ff3
commit ccac98dd5e
2 changed files with 5 additions and 2 deletions
+3 -2
View File
@@ -840,11 +840,12 @@ describe("#BlockchainRouter", () => {
.reply(200, { result: mockData.mockTxOut })
}
req.params.txid = `2c7ae9f865f7ce0c33c189b2f83414176903ce4b06ed9f8b7bcf55efbd4a7266`
req.params.txid = `197dcda59864b1eee05498fd3c52cad787ec56ab7e635503cb39f9ab6f295d5d`
req.params.n = 1
req.query.include_mempool = "true"
const result = await getTxOut(req, res)
//console.log(`result: ${JSON.stringify(result, null, 2)}`)
// console.log(`result: ${JSON.stringify(result, null, 2)}`)
assert.hasAllKeys(result, [
"bestblock",