|
@ -217,6 +217,12 @@ WalletService.prototype.replaceTemporaryRequestKey = function(opts, cb) { |
|
|
self.storage.storeWalletAndUpdateCopayersLookup(wallet, function(err) { |
|
|
self.storage.storeWalletAndUpdateCopayersLookup(wallet, function(err) { |
|
|
if (err) return cb(err); |
|
|
if (err) return cb(err); |
|
|
|
|
|
|
|
|
|
|
|
self._notify('CopayerUpdated', { |
|
|
|
|
|
walletId: opts.walletId, |
|
|
|
|
|
copayerId: copayer.id, |
|
|
|
|
|
copayerName: copayer.name, |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
return cb(null, { |
|
|
return cb(null, { |
|
|
copayerId: self.copayerId, |
|
|
copayerId: self.copayerId, |
|
|
wallet: wallet |
|
|
wallet: wallet |
|
|