WIP: performance in chrome
This commit is contained in:
parent
bd4513d1e6
commit
ab78588a9f
6 changed files with 19 additions and 8 deletions
|
|
@ -57,7 +57,7 @@ angular.module('copayApp.controllers').controller('createController',
|
|||
m: $scope.requiredCopayers,
|
||||
n: $scope.totalCopayers,
|
||||
name: form.walletName.$modelValue,
|
||||
extendedPrivateKey: form.privateKey.$modelValue,
|
||||
mnemonic: form.privateKey.$modelValue,
|
||||
myName: $scope.totalCopayers > 1 ? form.myName.$modelValue : null,
|
||||
networkName: form.isTestnet.$modelValue ? 'testnet' : 'livenet',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -68,7 +68,6 @@ angular.module('copayApp.controllers').controller('importController',
|
|||
profileService.importWalletMnemonic(words, {
|
||||
passphrase: passphrase,
|
||||
}, function(err, ret) {
|
||||
console.log('[import.js.70:err:]',err, ret); //TODO
|
||||
self.loading = false;
|
||||
if (err) {
|
||||
self.error = err;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('splashController',
|
||||
function($scope, $timeout, $log, profileService, storageService, go) {
|
||||
function($scope, $timeout, $log, profileService, storageService, go, bwcService) {
|
||||
storageService.getCopayDisclaimerFlag(function(err, val) {
|
||||
if (!val) go.path('disclaimer');
|
||||
|
||||
|
|
@ -29,4 +29,12 @@ angular.module('copayApp.controllers').controller('splashController',
|
|||
});
|
||||
}, 100);
|
||||
};
|
||||
|
||||
console.log('[splash.js.32]'); //TODO
|
||||
var a = bwcService.getClient();
|
||||
|
||||
console.log('[splash.js.34]'); //TODO
|
||||
a.seedFromMnemonic('glare benefit approve speak post afford spot cancel argue cushion unaware kitchen');
|
||||
console.log("LISTO", a.credentials);
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue