Browse Source

Set coinType to BTC Testnet

master
Loëck Vézien 7 years ago
parent
commit
fd3609fc5f
No known key found for this signature in database GPG Key ID: CBCDCE384E853AC4
  1. 4
      src/internals/usb/wallet/index.js

4
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 })
}

Loading…
Cancel
Save