fix(SLPDB status): Adding GET /slp/status to get status on SLPDB

This commit is contained in:
Chris Troutner
2020-12-23 19:30:38 -08:00
parent 02818da317
commit e2fa671964
4 changed files with 488 additions and 1 deletions
+9
View File
@@ -416,4 +416,13 @@ describe('#slp', () => {
}
})
})
describe('#getStatus', () => {
it('should get the SLPDB status', async () => {
const result = await slp.getStatus(req, res)
// console.log(`result: ${JSON.stringify(result, null, 2)}`)
assert.property(result, 'bchBlockHeight')
})
})
})