|
|
@ -205,7 +205,7 @@ WalletService.prototype.replaceTemporaryRequestKey = function(opts, cb) { |
|
|
|
}); |
|
|
|
$.checkState(oldCopayerData); |
|
|
|
|
|
|
|
if (oldCopayerData.xPubKey !== opts.xPubKey || oldCopayerData.name !== opts.name || !oldCopayerData.isTemporaryRequestKey) |
|
|
|
if (oldCopayerData.xPubKey !== opts.xPubKey || !oldCopayerData.isTemporaryRequestKey) |
|
|
|
return cb(new ClientError('CDATAMISMATCH', 'Copayer data mismatch')); |
|
|
|
|
|
|
|
if (wallet.copayers.length != wallet.n) |
|
|
|