From cc63e61f73d530c28655f9421506a25fc0a49df0 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Thu, 19 Nov 2020 17:24:37 -0500 Subject: [PATCH] Remove stray console.log in hardware wallets (#1136). --- packages/hardware-wallets/README.md | 2 +- packages/hardware-wallets/src.ts/ledger-transport.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/hardware-wallets/README.md b/packages/hardware-wallets/README.md index eaecb8792..5b06c9f4c 100644 --- a/packages/hardware-wallets/README.md +++ b/packages/hardware-wallets/README.md @@ -13,7 +13,7 @@ API import { LedgerSigner } from "@ethersproject/hardware-wallets"; const signer = new LedgerSigner(provider, type, path); // By default: -// - in node, type = "usb" +// - in node, type = "hid" // - path is the default Ethereum path (i.e. `m/44'/60'/0'/0/0`) ``` diff --git a/packages/hardware-wallets/src.ts/ledger-transport.ts b/packages/hardware-wallets/src.ts/ledger-transport.ts index bb3b882ae..7d9db54b3 100644 --- a/packages/hardware-wallets/src.ts/ledger-transport.ts +++ b/packages/hardware-wallets/src.ts/ledger-transport.ts @@ -28,7 +28,6 @@ const hidWrapper = Object.freeze({ } return hidCache.then((hid) => { - console.log(hid, hid.create); return hid.create() }); }