|
|
@ -96,7 +96,7 @@ Wallet.prototype.addCopayer = function(copayer) { |
|
|
|
|
|
|
|
this.status = 'complete'; |
|
|
|
this.publicKeyRing = _.map(this.copayers, function(copayer) { |
|
|
|
return _.pick(copayer, ['xPubKey', 'requestPubKey']); |
|
|
|
return _.pick(copayer, ['xPubKey', 'requestPubKey', 'isTemporaryRequestKey']); |
|
|
|
}); |
|
|
|
}; |
|
|
|
|
|
|
@ -113,7 +113,7 @@ Wallet.prototype.updateCopayerRequestKey = function(copayerId, requestPubKey) { |
|
|
|
c.requestPubKey = requestPubKey; |
|
|
|
c.isTemporaryRequestKey = false; |
|
|
|
this.publicKeyRing = _.map(this.copayers, function(copayer) { |
|
|
|
return _.pick(copayer, ['xPubKey', 'requestPubKey']); |
|
|
|
return _.pick(copayer, ['xPubKey', 'requestPubKey', 'isTemporaryRequestKey']); |
|
|
|
}); |
|
|
|
}; |
|
|
|
|
|
|
|