Browse Source

test address creation after scan

activeAddress
Ivan Socolsky 10 years ago
parent
commit
953356dc26
  1. 6
      test/integration/server.js

6
test/integration/server.js

@ -2508,7 +2508,11 @@ describe('Wallet service', function() {
addresses.length.should.equal(expectedPaths.length);
var paths = _.pluck(addresses, 'path');
_.difference(paths, expectedPaths).length.should.equal(0);
done();
server.createAddress({}, function(err, address) {
should.not.exist(err);
address.path.should.equal('m/2147483647/0/4');
done();
});
})
});
});

Loading…
Cancel
Save