1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

common: remove PassphraseRequest.on_device completely

This commit is contained in:
Tomas Susanka 2020-01-23 15:00:09 +00:00 committed by Pavol Rusnak
parent c65b57affb
commit f3553f63f1
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
3 changed files with 1 additions and 25 deletions

View File

@ -111,7 +111,7 @@ message PinMatrixAck {
* @next PassphraseAck
*/
message PassphraseRequest {
optional bool _deprecated_on_device = 1; // moved to PassphraseAck but left for backwards compatibility
// optional bool on_device = 1; // DEPRECATED
}
/**

View File

@ -12,15 +12,3 @@ if __debug__:
class PassphraseRequest(p.MessageType):
MESSAGE_WIRE_TYPE = 41
def __init__(
self,
_deprecated_on_device: bool = None,
) -> None:
self._deprecated_on_device = _deprecated_on_device
@classmethod
def get_fields(cls) -> Dict:
return {
1: ('_deprecated_on_device', p.BoolType, 0),
}

View File

@ -12,15 +12,3 @@ if __debug__:
class PassphraseRequest(p.MessageType):
MESSAGE_WIRE_TYPE = 41
def __init__(
self,
_deprecated_on_device: bool = None,
) -> None:
self._deprecated_on_device = _deprecated_on_device
@classmethod
def get_fields(cls) -> Dict:
return {
1: ('_deprecated_on_device', p.BoolType, 0),
}