Address History: Add getAddressHistoryCount to available API methods.

This commit is contained in:
Braydon Fuller 2015-09-14 17:29:43 -04:00
parent b1b40c892e
commit e7587564a7
2 changed files with 3 additions and 2 deletions

View File

@ -48,7 +48,8 @@ AddressService.prototype.getAPIMethods = function() {
['getOutputs', this, this.getOutputs, 2],
['getUnspentOutputs', this, this.getUnspentOutputs, 2],
['isSpent', this, this.isSpent, 2],
['getAddressHistory', this, this.getAddressHistory, 2]
['getAddressHistory', this, this.getAddressHistory, 2],
['getAddressHistoryCount', this, this.getAddressHistoryCount, 2]
];
};

View File

@ -29,7 +29,7 @@ describe('Address Service', function() {
it('should return the correct methods', function() {
var am = new AddressService({node: mocknode});
var methods = am.getAPIMethods();
methods.length.should.equal(5);
methods.length.should.equal(6);
});
});