Browse Source

Revert "Temporarily disable max address gap limit"

activeAddress
Ivan Socolsky 9 years ago
parent
commit
6f280d07da
  1. 1
      lib/server.js
  2. 6
      test/integration/server.js

1
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) {

6
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

Loading…
Cancel
Save