diff --git a/lib/services/address/index.js b/lib/services/address/index.js index af54d3dc..dbf944ce 100644 --- a/lib/services/address/index.js +++ b/lib/services/address/index.js @@ -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] ]; }; diff --git a/test/services/address/index.unit.js b/test/services/address/index.unit.js index 6d611b60..f8f8a65c 100644 --- a/test/services/address/index.unit.js +++ b/test/services/address/index.unit.js @@ -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); }); });