Fix balance value when sign out (a wallet with btc) and create a new wallet (this showed value of the previous wallet)
This commit is contained in:
parent
9fdb04e868
commit
dd62ab16d1
1 changed files with 1 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ angular.module('copay.header').controller('HeaderController',
|
|||
if (w) {
|
||||
w.disconnect();
|
||||
delete $rootScope['wallet'];
|
||||
$rootScope.totalBalance = 0;
|
||||
$location.path('signin');
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue