mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-21 16:52:04 -07:00
Fixing tests that broke in ABC 0.20.2
This commit is contained in:
@@ -418,7 +418,8 @@ describe('#BlockchainRouter', () => {
|
||||
'difficulty',
|
||||
'chainwork',
|
||||
'previousblockhash',
|
||||
'nextblockhash'
|
||||
'nextblockhash',
|
||||
'nTx'
|
||||
])
|
||||
})
|
||||
})
|
||||
@@ -594,7 +595,8 @@ describe('#BlockchainRouter', () => {
|
||||
'difficulty',
|
||||
'chainwork',
|
||||
'previousblockhash',
|
||||
'nextblockhash'
|
||||
'nextblockhash',
|
||||
'nTx'
|
||||
])
|
||||
})
|
||||
|
||||
|
||||
@@ -152,7 +152,6 @@ describe('#Mining', () => {
|
||||
'currentblocksize',
|
||||
'currentblocktx',
|
||||
'difficulty',
|
||||
'blockprioritypercentage',
|
||||
'warnings',
|
||||
'networkhashps',
|
||||
'pooledtx',
|
||||
|
||||
+1
-1
@@ -411,7 +411,7 @@ describe('#SLP', () => {
|
||||
]
|
||||
|
||||
const result = await validateBulk(req, res)
|
||||
console.log(`result: ${util.inspect(result)}`)
|
||||
// console.log(`result: ${util.inspect(result)}`)
|
||||
|
||||
assert.isArray(result)
|
||||
assert.hasAllKeys(result[0], ['txid', 'valid'])
|
||||
|
||||
Reference in New Issue
Block a user