diff --git a/lib/server.js b/lib/server.js index 86e6fa1..67d75b4 100644 --- a/lib/server.js +++ b/lib/server.js @@ -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)