mirror of https://github.com/BTCPrivate/copay.git
trezor WIP
This commit is contained in:
parent
9ce342bba7
commit
4c9385f78b
|
@ -276,7 +276,7 @@ console.log('[profileService.js.239:walletClient:]',walletClient); //TODO
|
|||
root._seedWallet(opts, function(err, walletClient) {
|
||||
if (err) return cb(err);
|
||||
|
||||
walletClient.joinWallet(opts.secret, opts.myName || 'me', function(err) {
|
||||
walletClient.joinWallet(opts.secret, opts.myName || 'me', {}, function(err) {
|
||||
if (err) return bwsError.cb(err, gettext('Could not join wallet'), cb);
|
||||
|
||||
root.profile.credentials.push(JSON.parse(walletClient.export()));
|
||||
|
|
|
@ -72,6 +72,7 @@ angular.module('copayApp.services')
|
|||
var pathArr = i.path.split('/');
|
||||
console.log('[trezor.js.72:pathArr:]',pathArr); //TODO
|
||||
var n = [44 | 0x80000000, 0 | 0x80000000, account | 0x80000000, parseInt(pathArr[1]) , parseInt(pathArr[2])];
|
||||
console.log('[trezor.js.74]', n); //TODO
|
||||
return {
|
||||
address_n: n,
|
||||
prev_index: i.vout,
|
||||
|
|
Loading…
Reference in New Issue