Merge pull request #194 from cmgustavo/bug/01-update-balance
Refresh subscriptions when someone add new address
This commit is contained in:
commit
31c2749813
1 changed files with 3 additions and 0 deletions
|
|
@ -58,6 +58,9 @@ angular.module('copay.controllerUtils')
|
||||||
w.on('refresh', function() {
|
w.on('refresh', function() {
|
||||||
root.updateBalance();
|
root.updateBalance();
|
||||||
});
|
});
|
||||||
|
w.on('publicKeyRingUpdated', function() {
|
||||||
|
root.setSocketHandlers();
|
||||||
|
});
|
||||||
w.on('openError', root.onErrorDigest);
|
w.on('openError', root.onErrorDigest);
|
||||||
w.on('peer', function(peerID) {
|
w.on('peer', function(peerID) {
|
||||||
video.callPeer(peerID, handlePeerVideo);
|
video.callPeer(peerID, handlePeerVideo);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue