diff --git a/common/protob/messages-common.proto b/common/protob/messages-common.proto index c58e2af786..892258bb12 100644 --- a/common/protob/messages-common.proto +++ b/common/protob/messages-common.proto @@ -120,7 +120,8 @@ message PassphraseRequest { */ message PassphraseAck { optional string passphrase = 1; - optional bool on_device = 2; // user wants to enter passphrase on the device +// optional bytes state = 2; // DEPRECATED + optional bool on_device = 3; // user wants to enter passphrase on the device } /** diff --git a/core/src/trezor/messages/PassphraseAck.py b/core/src/trezor/messages/PassphraseAck.py index d8fc4ded26..791d6c54fa 100644 --- a/core/src/trezor/messages/PassphraseAck.py +++ b/core/src/trezor/messages/PassphraseAck.py @@ -25,5 +25,5 @@ class PassphraseAck(p.MessageType): def get_fields(cls) -> Dict: return { 1: ('passphrase', p.UnicodeType, 0), - 2: ('on_device', p.BoolType, 0), + 3: ('on_device', p.BoolType, 0), } diff --git a/python/src/trezorlib/messages/PassphraseAck.py b/python/src/trezorlib/messages/PassphraseAck.py index 3a95f6bc62..bc5f94c2d1 100644 --- a/python/src/trezorlib/messages/PassphraseAck.py +++ b/python/src/trezorlib/messages/PassphraseAck.py @@ -25,5 +25,5 @@ class PassphraseAck(p.MessageType): def get_fields(cls) -> Dict: return { 1: ('passphrase', p.UnicodeType, 0), - 2: ('on_device', p.BoolType, 0), + 3: ('on_device', p.BoolType, 0), }