mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
common: remove PassphraseRequest.on_device completely
This commit is contained in:
parent
c65b57affb
commit
f3553f63f1
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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),
|
||||
}
|
||||
|
@ -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),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user