fix init
This commit is contained in:
parent
ec3575e629
commit
72ba0b3a58
|
@ -32,7 +32,7 @@ Copayer.create = function(opts) {
|
|||
x.id = WalletUtils.xPubToCopayerId(x.xPubKey);
|
||||
x.name = opts.name;
|
||||
|
||||
if (!x.requestPubKeys) {
|
||||
if (!opts.requestPubKeys) {
|
||||
x.requestPubKeys = [{
|
||||
key: opts.requestPubKey,
|
||||
signature: opts.signature,
|
||||
|
|
Loading…
Reference in New Issue