Update the balance if I sign/reject a transaction proposal
This commit is contained in:
parent
0821685c01
commit
4bf091b052
1 changed files with 5 additions and 1 deletions
|
|
@ -233,9 +233,13 @@ angular.module('copayApp.services')
|
||||||
|
|
||||||
w.on('txProposalEvent', function(e) {
|
w.on('txProposalEvent', function(e) {
|
||||||
if (root.isFocused(wid)) {
|
if (root.isFocused(wid)) {
|
||||||
pendingTxsService.update();
|
pendingTxsService.update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
balanceService.update(w, function() {
|
||||||
|
$rootScope.$digest();
|
||||||
|
}, root.isFocused(wid));
|
||||||
|
|
||||||
// TODO: add wallet name notification
|
// TODO: add wallet name notification
|
||||||
var user = w.publicKeyRing.nicknameForCopayer(e.cId);
|
var user = w.publicKeyRing.nicknameForCopayer(e.cId);
|
||||||
var name = w.getName();
|
var name = w.getName();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue