Loëck Vézien
7 years ago
No known key found for this signature in database
GPG Key ID: CBCDCE384E853AC4
1 changed files with
2 additions and
2 deletions
-
src/internals/usb/wallet/index.js
|
|
@ -7,8 +7,8 @@ import getAllAccounts, { verifyAddress } from './accounts' |
|
|
|
async function getAllAccountsByCoinType({ pathDevice, coinType, currentAccounts, onProgress }) { |
|
|
|
const transport = await CommNodeHid.open(pathDevice) |
|
|
|
|
|
|
|
// 0: BTC
|
|
|
|
if (coinType === 0) { |
|
|
|
// 1: BTC Testnet
|
|
|
|
if (coinType === 1) { |
|
|
|
return getAllAccounts({ transport, currentAccounts, onProgress }) |
|
|
|
} |
|
|
|
|
|
|
|