keepkey / keepkey.js

Superseded by https://github.com/shapeshift/hdwallet
MIT License
13 stars 9 forks source link

WebUSBDevice: Return a Failure message if `read` throws #28

Closed majorhayes closed 5 years ago

majorhayes commented 5 years ago

Description

If read() throws an error, we should return a valid Protobuf message that can be processed down the line as if the device had returned an actual Protobuf message.

Other changes:

keepkeyjon commented 5 years ago

LGTM, too