fix tests

This commit is contained in:
Matias Alejo Garcia 2014-08-21 16:50:32 -04:00
commit bb9fbfa1e7
2 changed files with 10 additions and 1 deletions

View file

@ -6,7 +6,8 @@ angular.module('copayApp.controllers').controller('MoreController',
$scope.hideAdv=true;
$scope.hidePriv=true;
$scope.priv = w.privateKey.toObj().extendedPrivateKeyString;
if (w)
$scope.priv = w.privateKey.toObj().extendedPrivateKeyString;
$scope.downloadBackup = function() {
var w = $rootScope.wallet;