Merge pull request #6238 from matiu/bug/logs5

rm console logs
This commit is contained in:
Gustavo Maximiliano Cortez 2017-06-13 11:34:45 -03:00 committed by GitHub
commit 1468bfdbe6
2 changed files with 0 additions and 5 deletions

View file

@ -284,7 +284,6 @@ angular.module('copayApp.controllers').controller('importController',
opts.entropySourcePath = 'm/' + hwWallet.getEntropyPath(id, isMultisig, account); opts.entropySourcePath = 'm/' + hwWallet.getEntropyPath(id, isMultisig, account);
} }
console.log('[import.js.283:opts:]',opts); //TODO
_importMnemonic(words, opts); _importMnemonic(words, opts);
}; };
@ -298,7 +297,6 @@ console.log('[import.js.283:opts:]',opts); //TODO
lopts.externalSource = walletService.externalSource.trezor.id; lopts.externalSource = walletService.externalSource.trezor.id;
lopts.bwsurl = $scope.formData.bwsurl; lopts.bwsurl = $scope.formData.bwsurl;
console.log('[import.js.299:lopts:]',lopts); //TODO
ongoingProcess.set('importingWallet', true); ongoingProcess.set('importingWallet', true);
$log.debug('Import opts', lopts); $log.debug('Import opts', lopts);

View file

@ -18,9 +18,7 @@ angular.module('copayApp.services')
}; };
root.getEntropySource = function(isMultisig, account, callback) { root.getEntropySource = function(isMultisig, account, callback) {
console.log('[trezor.js.20:isMultisig:]',root.description.id, isMultisig, account); //TODO
root.getXPubKey(hwWallet.getEntropyPath(root.description.id, isMultisig, account), function(data) { root.getXPubKey(hwWallet.getEntropyPath(root.description.id, isMultisig, account), function(data) {
console.log('[trezor.js.21:data:]',data); //TODO
if (!data.success) if (!data.success)
return callback(hwWallet._err(data)); return callback(hwWallet._err(data));
@ -32,7 +30,6 @@ console.log('[trezor.js.21:data:]',data); //TODO
root.getXPubKey = function(path, callback) { root.getXPubKey = function(path, callback) {
$log.debug('TREZOR deriving xPub path:', path); $log.debug('TREZOR deriving xPub path:', path);
try { try {
console.log('[trezor.js.35:path:]',path); //TODO
TrezorConnect.getXPubKey(path, callback); TrezorConnect.getXPubKey(path, callback);
} catch (e) { } catch (e) {
callback('Error connecting Trezor'); callback('Error connecting Trezor');