diff --git a/lib/server.js b/lib/server.js index 52028bb..08431ec 100644 --- a/lib/server.js +++ b/lib/server.js @@ -730,7 +730,6 @@ WalletService.prototype.createAddress = function(opts, cb) { var self = this; opts = opts || {}; - opts.ignoreMaxGap = true; self._runLocked(cb, function(cb) { self.getWallet({}, function(err, wallet) { diff --git a/test/integration/server.js b/test/integration/server.js index 23b46a8..2d3a9db 100644 --- a/test/integration/server.js +++ b/test/integration/server.js @@ -960,7 +960,7 @@ describe('Wallet service', function() { }); }); - it.skip('should fail to create more consecutive addresses with no activity than allowed', function(done) { + it('should fail to create more consecutive addresses with no activity than allowed', function(done) { var MAX_MAIN_ADDRESS_GAP_old = Defaults.MAX_MAIN_ADDRESS_GAP; Defaults.MAX_MAIN_ADDRESS_GAP = 2; helpers.stubAddressActivity([]); @@ -996,7 +996,7 @@ describe('Wallet service', function() { }); }); - it.skip('should cache address activity', function(done) { + it('should cache address activity', function(done) { var MAX_MAIN_ADDRESS_GAP_old = Defaults.MAX_MAIN_ADDRESS_GAP; Defaults.MAX_MAIN_ADDRESS_GAP = 2; helpers.stubAddressActivity([]); @@ -4246,7 +4246,7 @@ describe('Wallet service', function() { }); }); - it.skip('should not go beyond max gap', function(done) { + it('should not go beyond max gap', function(done) { helpers.stubAddressActivity( ['1L3z9LPd861FWQhf3vDn89Fnc9dkdBo2CG', // m/0/0 '1GdXraZ1gtoVAvBh49D4hK9xLm6SKgesoE', // m/0/2