|
|
@ -105,7 +105,7 @@ Wallet.prototype.addCopayer = function(copayer) { |
|
|
|
this._updatePublicKeyRing(); |
|
|
|
}; |
|
|
|
|
|
|
|
Wallet.prototype.updateCopayerRequestKey = function(copayerId, requestPubKey) { |
|
|
|
Wallet.prototype.updateCopayerRequestKey = function(copayerId, requestPubKey, signature) { |
|
|
|
$.checkState(this.copayers.length == this.n); |
|
|
|
|
|
|
|
var c = _.find(this.copayers, { |
|
|
@ -117,6 +117,7 @@ Wallet.prototype.updateCopayerRequestKey = function(copayerId, requestPubKey) { |
|
|
|
|
|
|
|
c.requestPubKey = requestPubKey; |
|
|
|
c.isTemporaryRequestKey = false; |
|
|
|
c.signature = signature; |
|
|
|
this._updatePublicKeyRing(); |
|
|
|
}; |
|
|
|
|
|
|
|