mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-06 23:39:38 +01:00
chore(protocol): remove unused ThpInvalidData error type
This commit is contained in:
@@ -142,8 +142,6 @@ const decodeThpError = (payload: Buffer): ThpMessageResponse => {
|
||||
return 'ThpUnallocatedChannel';
|
||||
case 0x03:
|
||||
return 'ThpDecryptionFailed';
|
||||
case 0x04:
|
||||
return 'ThpInvalidData';
|
||||
case 0x05:
|
||||
return 'ThpDeviceLocked';
|
||||
default:
|
||||
|
||||
@@ -13,7 +13,6 @@ export type ThpError = {
|
||||
| 'ThpTransportBusy'
|
||||
| 'ThpUnallocatedChannel'
|
||||
| 'ThpDecryptionFailed'
|
||||
| 'ThpInvalidData'
|
||||
| 'ThpDeviceLocked'
|
||||
| 'ThpUnknownError';
|
||||
message: string;
|
||||
|
||||
Reference in New Issue
Block a user