From fd3609fc5fb73c3e16d9b4f1381b00b2eb7bee1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=ABck=20V=C3=A9zien?= Date: Tue, 20 Feb 2018 17:07:51 +0100 Subject: [PATCH] Set coinType to BTC Testnet --- src/internals/usb/wallet/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internals/usb/wallet/index.js b/src/internals/usb/wallet/index.js index af7b7e16..67241466 100644 --- a/src/internals/usb/wallet/index.js +++ b/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 }) }