accounts/usbwallet: support webusb for Trezor wallets

This commit is contained in:
Guillaume Ballet
2019-05-16 14:37:36 +02:00
committed by Péter Szilágyi
parent 7a22da98b9
commit 4799b5abd4
12 changed files with 443 additions and 34 deletions

View File

@ -78,7 +78,7 @@ type wallet struct {
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
device hid.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