Create indexes for all copayers
This commit is contained in:
parent
e9f20b5de6
commit
b02cb17989
4 changed files with 52 additions and 2 deletions
|
|
@ -24,7 +24,8 @@ function PublicKeyRing(opts) {
|
|||
|
||||
this.copayersHK = opts.copayersHK || [];
|
||||
|
||||
this.indexes = opts.indexes ? AddressIndex.fromList(opts.indexes) : [new AddressIndex()];
|
||||
this.indexes = opts.indexes ? AddressIndex.fromList(opts.indexes)
|
||||
: AddressIndex.init(this.totalCopayers);
|
||||
|
||||
this.publicKeysCache = opts.publicKeysCache || {};
|
||||
this.nicknameFor = opts.nicknameFor || {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue