create working for ledger
This commit is contained in:
parent
d1c1638b14
commit
f633a15a2d
6 changed files with 55 additions and 51 deletions
|
|
@ -40,7 +40,7 @@ angular.module('copayApp.services')
|
|||
|
||||
root.getInfoForNewWallet = function(isMultisig, account, callback) {
|
||||
var opts = {};
|
||||
root.getEntropySource(isMultisig, account, function(entropySource) {
|
||||
root.getEntropySource(isMultisig, account, function(err, entropySource) {
|
||||
if (err) return callback(err);
|
||||
|
||||
opts.entropySource = entropySource;
|
||||
|
|
@ -51,7 +51,7 @@ angular.module('copayApp.services')
|
|||
}
|
||||
opts.extendedPublicKey = data.xpubkey;
|
||||
opts.externalSource = 'ledger';
|
||||
opts.externalIndex = account;
|
||||
opts.account = account;
|
||||
return callback(null, opts);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue