Wallet/js/controllers/peer.js

17 lines
421 B
JavaScript
Raw Normal View History

'use strict';
angular.module('copay.peer').controller('PeerController',
function($scope, $rootScope, $location, $routeParams, Socket, controllerUtils) {
$scope.init = function() {
2014-03-31 18:05:35 -03:00
//Network.connect($rootScope.masterId);
};
if (!$rootScope.wallet || !$rootScope.wallet.id) {
$location.path('signin');
}
else {
2014-04-18 13:20:35 -03:00
controllerUtils.handleTransactionByAddress($scope);
}
});