working towards fixing tests with new rules
This commit is contained in:
parent
542f6d5cea
commit
cf159241a9
4 changed files with 37 additions and 17 deletions
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
|
||||
var imports = require('soop').imports();
|
||||
var preconditions = require('preconditions').instance();
|
||||
var bitcore = require('bitcore');
|
||||
var HK = bitcore.HierarchicalKey;
|
||||
var PrivateKey = require('./PrivateKey');
|
||||
|
|
@ -62,6 +63,7 @@ PublicKeyRing.prototype.toObj = function() {
|
|||
};
|
||||
|
||||
PublicKeyRing.prototype.getCopayerId = function(i) {
|
||||
preconditions.checkArgument(typeof i !== 'undefined');
|
||||
return this.copayerIds[i];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue