test: fix http.

This commit is contained in:
Christopher Jeffrey 2016-12-16 18:11:49 -08:00
parent 5683d708dd
commit 2beb9c06a5
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -50,7 +50,8 @@ describe('HTTP', function() {
assert.equal(info.network, node.network.type);
assert.equal(info.version, constants.USER_VERSION);
assert.equal(info.agent, constants.USER_AGENT);
assert.equal(info.height, 0);
assert.equal(typeof info.chain, 'object');
assert.equal(info.chain.height, 0);
}));
it('should get wallet info', cob(function* () {