diff --git a/lib/model/copayer.js b/lib/model/copayer.js index 45c4aac..fa86c35 100644 --- a/lib/model/copayer.js +++ b/lib/model/copayer.js @@ -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,