peer authentication
This commit is contained in:
parent
08fa60d41c
commit
6ace16e20d
9 changed files with 136 additions and 62 deletions
|
|
@ -70,7 +70,7 @@ describe('PrivateKey model', function() {
|
|||
it('should calculate .id', function () {
|
||||
var w1 = new PrivateKey(config);
|
||||
should.exist(w1.getId());
|
||||
w1.getId().length.should.equal(32);
|
||||
w1.getId().length.should.equal(66);
|
||||
});
|
||||
it('fromObj toObj roundtrip', function () {
|
||||
var w1 = new PrivateKey(config);
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@ describe('PublicKeyRing model', function() {
|
|||
networkName: 'livenet',
|
||||
});
|
||||
wx.addCopayer();
|
||||
(function() { w.merge(wx, true);}).should.throw();
|
||||
(function() { w.merge(wx);}).should.throw();
|
||||
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue