This commit is contained in:
Kagami Hiiragi 2014-12-27 18:24:02 +03:00
parent 53ae383d35
commit a1f45ad3f3
2 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,6 @@ exports.getRandom = function(opts) {
reject(e); reject(e);
} }
return keys2ripe(signPublicKey, encPrivateKey).then(function(ripe) { return keys2ripe(signPublicKey, encPrivateKey).then(function(ripe) {
console.log(ripe);
var len = getripelen(ripe); var len = getripelen(ripe);
if ( if (
(strictripelen && len === ripelen) || (strictripelen && len === ripelen) ||

View File

@ -118,6 +118,7 @@ describe("Address", function() {
}); });
it("should allow to generate new Bitmessage address", function() { it("should allow to generate new Bitmessage address", function() {
this.timeout(10000);
return Address.getRandom().then(function(addr) { return Address.getRandom().then(function(addr) {
expect(addr.version).to.equal(4); expect(addr.version).to.equal(4);
expect(addr.stream).to.equal(1); expect(addr.stream).to.equal(1);