Wallet/js/controllers/peer.js
Matias Alejo Garcia b2508b7195 fix wallet updates
2014-04-18 13:20:35 -03:00

17 lines
421 B
JavaScript

'use strict';
angular.module('copay.peer').controller('PeerController',
function($scope, $rootScope, $location, $routeParams, Socket, controllerUtils) {
$scope.init = function() {
//Network.connect($rootScope.masterId);
};
if (!$rootScope.wallet || !$rootScope.wallet.id) {
$location.path('signin');
}
else {
controllerUtils.handleTransactionByAddress($scope);
}
});