Meriadec Pillet
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
3 additions and
3 deletions
-
alix.js
-
src/init-ledger-core.js
-
src/internals/accounts/scanAccountsOnDevice.js
|
|
@ -13,7 +13,7 @@ const { |
|
|
|
getWallet, |
|
|
|
syncAccount, |
|
|
|
signTransaction, |
|
|
|
} = require('ledger-core') |
|
|
|
} = require('@ledgerhq/ledger-core') |
|
|
|
|
|
|
|
async function getOrCreateWallet(currencyId) { |
|
|
|
try { |
|
|
|
|
|
@ -4,7 +4,7 @@ |
|
|
|
// instanciating wallet pool, but we don't need to do each everytime we
|
|
|
|
// require ledger-core, only the first time, so, eh.
|
|
|
|
|
|
|
|
const core = require('ledger-core') |
|
|
|
const core = require('@ledgerhq/ledger-core') |
|
|
|
|
|
|
|
let instanciated = false |
|
|
|
|
|
|
|
|
|
@ -15,7 +15,7 @@ import { getCryptoCurrencyById } from '@ledgerhq/live-common/lib/helpers/currenc |
|
|
|
import type Transport from '@ledgerhq/hw-transport' |
|
|
|
|
|
|
|
import type { AccountRaw } from '@ledgerhq/live-common/lib/types' |
|
|
|
import type { NJSAccount, NJSOperation } from 'ledger-core/src/ledgercore_doc' |
|
|
|
import type { NJSAccount, NJSOperation } from '@ledgerhq/ledger-core/src/ledgercore_doc' |
|
|
|
|
|
|
|
type Props = { |
|
|
|
devicePath: string, |
|
|
|