Browse Source

add notification

activeAddress
Matias Alejo Garcia 10 years ago
parent
commit
e59ff66a64
  1. 6
      lib/server.js

6
lib/server.js

@ -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…
Cancel
Save