aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/usbwallet/wallet.go
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/usbwallet/wallet.go')
-rw-r--r--accounts/usbwallet/wallet.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/accounts/usbwallet/wallet.go b/accounts/usbwallet/wallet.go
index df38f953d..ed786d9b4 100644
--- a/accounts/usbwallet/wallet.go
+++ b/accounts/usbwallet/wallet.go
@@ -31,7 +31,7 @@ import (
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/log"
- "github.com/karalabe/hid"
+ "github.com/karalabe/usb"
)
// Maximum time between wallet health checks to detect USB unplugs.
@@ -77,8 +77,8 @@ type wallet struct {
driver driver // Hardware implementation of the low level device operations
url *accounts.URL // Textual URL uniquely identifying this wallet
- info hid.DeviceInfo // Known USB device infos about the wallet
- device hid.Device // USB device advertising itself as a hardware wallet
+ info usb.DeviceInfo // Known USB device infos about the wallet
+ device usb.Device // USB device advertising itself as a hardware wallet
accounts []accounts.Account // List of derive accounts pinned on the hardware wallet
paths map[common.Address]accounts.DerivationPath // Known derivation paths for signing operations