go-pulse/accounts/usbwallet
Corey Lin 2fa9e99fc1 usbwallet: check error returned by driver close (#18057)
Although current two implementations(ledgerDriver, trezorDriver) of interface driver.Close do not actually return any error. Instead, they only return nil.
But since the declaration of Close function returns error, it is better to check the returned error in case in future some new implementation of Close function returns error and we may forget to modify the function which invokes Close function at that time.
2019-03-07 12:13:06 +02:00
..
trezor accounts/usbwallet/trezor: expose protobuf package (#17980) 2019-01-26 14:30:47 +01:00
hub.go accounts: prefer nil slices over zero-length slices (#19079) 2019-03-06 12:30:39 +02:00
ledger.go usbwallet: check returned error when decoding hexstr (#18056) 2018-12-13 10:21:52 +01:00
trezor.go accounts/usbwallet/trezor: expose protobuf package (#17980) 2019-01-26 14:30:47 +01:00
wallet.go usbwallet: check error returned by driver close (#18057) 2019-03-07 12:13:06 +02:00