commit
1468bfdbe6
2 changed files with 0 additions and 5 deletions
|
|
@ -284,7 +284,6 @@ angular.module('copayApp.controllers').controller('importController',
|
|||
opts.entropySourcePath = 'm/' + hwWallet.getEntropyPath(id, isMultisig, account);
|
||||
}
|
||||
|
||||
console.log('[import.js.283:opts:]',opts); //TODO
|
||||
_importMnemonic(words, opts);
|
||||
};
|
||||
|
||||
|
|
@ -298,7 +297,6 @@ console.log('[import.js.283:opts:]',opts); //TODO
|
|||
|
||||
lopts.externalSource = walletService.externalSource.trezor.id;
|
||||
lopts.bwsurl = $scope.formData.bwsurl;
|
||||
console.log('[import.js.299:lopts:]',lopts); //TODO
|
||||
ongoingProcess.set('importingWallet', true);
|
||||
$log.debug('Import opts', lopts);
|
||||
|
||||
|
|
|
|||
|
|
@ -18,9 +18,7 @@ angular.module('copayApp.services')
|
|||
};
|
||||
|
||||
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) {
|
||||
console.log('[trezor.js.21:data:]',data); //TODO
|
||||
if (!data.success)
|
||||
return callback(hwWallet._err(data));
|
||||
|
||||
|
|
@ -32,7 +30,6 @@ console.log('[trezor.js.21:data:]',data); //TODO
|
|||
root.getXPubKey = function(path, callback) {
|
||||
$log.debug('TREZOR deriving xPub path:', path);
|
||||
try {
|
||||
console.log('[trezor.js.35:path:]',path); //TODO
|
||||
TrezorConnect.getXPubKey(path, callback);
|
||||
} catch (e) {
|
||||
callback('Error connecting Trezor');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue