From f3553f63f18f33fa268984e046d329a9017c000d Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Thu, 23 Jan 2020 15:00:09 +0000 Subject: [PATCH] common: remove PassphraseRequest.on_device completely --- common/protob/messages-common.proto | 2 +- core/src/trezor/messages/PassphraseRequest.py | 12 ------------ python/src/trezorlib/messages/PassphraseRequest.py | 12 ------------ 3 files changed, 1 insertion(+), 25 deletions(-) diff --git a/common/protob/messages-common.proto b/common/protob/messages-common.proto index 2f08232d09..c58e2af786 100644 --- a/common/protob/messages-common.proto +++ b/common/protob/messages-common.proto @@ -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 } /** diff --git a/core/src/trezor/messages/PassphraseRequest.py b/core/src/trezor/messages/PassphraseRequest.py index 27806cb9e8..898f91cc20 100644 --- a/core/src/trezor/messages/PassphraseRequest.py +++ b/core/src/trezor/messages/PassphraseRequest.py @@ -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), - } diff --git a/python/src/trezorlib/messages/PassphraseRequest.py b/python/src/trezorlib/messages/PassphraseRequest.py index a2abc1f9dd..cb75b54e1f 100644 --- a/python/src/trezorlib/messages/PassphraseRequest.py +++ b/python/src/trezorlib/messages/PassphraseRequest.py @@ -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), - }