mirror of https://github.com/BTCPrivate/copay.git
rm commented code
This commit is contained in:
parent
3edec5e597
commit
baa44b0dfd
|
@ -2,14 +2,6 @@
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('HomeWalletController', function($scope, $rootScope) {
|
angular.module('copayApp.controllers').controller('HomeWalletController', function($scope, $rootScope) {
|
||||||
$scope.init = function() {
|
$scope.init = function() {
|
||||||
|
|
||||||
$rootScope.title = 'Home';
|
$rootScope.title = 'Home';
|
||||||
|
|
||||||
// This is necesarry, since wallet can change in homeWallet, without running init() again.
|
|
||||||
// $rootScope.$watch('wallet', function() {
|
|
||||||
// if ($rootScope.wallet && $rootScope.wallet.isComplete()) {
|
|
||||||
// $scope.addr = _.last($rootScope.wallet.getReceiveAddresses());
|
|
||||||
// }
|
|
||||||
// });
|
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue