add notification
This commit is contained in:
parent
039396dfaa
commit
e59ff66a64
|
@ -217,6 +217,12 @@ WalletService.prototype.replaceTemporaryRequestKey = function(opts, cb) {
|
|||
self.storage.storeWalletAndUpdateCopayersLookup(wallet, function(err) {
|
||||
if (err) return cb(err);
|
||||
|
||||
self._notify('CopayerUpdated', {
|
||||
walletId: opts.walletId,
|
||||
copayerId: copayer.id,
|
||||
copayerName: copayer.name,
|
||||
});
|
||||
|
||||
return cb(null, {
|
||||
copayerId: self.copayerId,
|
||||
wallet: wallet
|
||||
|
|
Loading…
Reference in New Issue