aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/usbwallet/usbwallet.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-02-16 21:36:44 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-02-17 18:04:21 +0800
commit6ec81352560e3e4268855115eda9d78f6e27875f (patch)
treec8723bdcdd08608e7cfcbed04f74fdac7de7ffe3 /accounts/usbwallet/usbwallet.go
parentbdef758d5c6d397584d0c35e53d6f6c318e61351 (diff)
downloadgo-tangerine-6ec81352560e3e4268855115eda9d78f6e27875f.tar
go-tangerine-6ec81352560e3e4268855115eda9d78f6e27875f.tar.gz
go-tangerine-6ec81352560e3e4268855115eda9d78f6e27875f.tar.bz2
go-tangerine-6ec81352560e3e4268855115eda9d78f6e27875f.tar.lz
go-tangerine-6ec81352560e3e4268855115eda9d78f6e27875f.tar.xz
go-tangerine-6ec81352560e3e4268855115eda9d78f6e27875f.tar.zst
go-tangerine-6ec81352560e3e4268855115eda9d78f6e27875f.zip
accounts/usbwallet, vendor: use hidapi instead of libusb directly
Diffstat (limited to 'accounts/usbwallet/usbwallet.go')
-rw-r--r--accounts/usbwallet/usbwallet.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/accounts/usbwallet/usbwallet.go b/accounts/usbwallet/usbwallet.go
index 3989f3d02..938ab1e6a 100644
--- a/accounts/usbwallet/usbwallet.go
+++ b/accounts/usbwallet/usbwallet.go
@@ -14,16 +14,12 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
-// +build !ios
-
// Package usbwallet implements support for USB hardware wallets.
package usbwallet
-import "github.com/karalabe/gousb/usb"
-
// deviceID is a combined vendor/product identifier to uniquely identify a USB
// hardware device.
type deviceID struct {
- Vendor usb.ID // The Vendor identifer
- Product usb.ID // The Product identifier
+ Vendor uint16 // The Vendor identifer
+ Product uint16 // The Product identifier
}