From 75e87ede86a421a9add357bb11afc91f449fbc84 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 14 Feb 2018 18:15:18 +0100 Subject: [PATCH] vendor: update trezor-common, regenerate messages --- src/trezor/messages/PassphraseAck.py | 1 + src/trezor/messages/PassphraseRequest.py | 3 +++ vendor/trezor-common | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/trezor/messages/PassphraseAck.py b/src/trezor/messages/PassphraseAck.py index c876aebc1e..3e865a0463 100644 --- a/src/trezor/messages/PassphraseAck.py +++ b/src/trezor/messages/PassphraseAck.py @@ -5,5 +5,6 @@ import protobuf as p class PassphraseAck(p.MessageType): FIELDS = { 1: ('passphrase', p.UnicodeType, 0), # required + 2: ('state', p.BytesType, 0), } MESSAGE_WIRE_TYPE = 42 diff --git a/src/trezor/messages/PassphraseRequest.py b/src/trezor/messages/PassphraseRequest.py index ebbd1fced4..63e4b52e9a 100644 --- a/src/trezor/messages/PassphraseRequest.py +++ b/src/trezor/messages/PassphraseRequest.py @@ -3,4 +3,7 @@ import protobuf as p class PassphraseRequest(p.MessageType): + FIELDS = { + 1: ('on_device', p.BoolType, 0), + } MESSAGE_WIRE_TYPE = 41 diff --git a/vendor/trezor-common b/vendor/trezor-common index c7dcca60c7..b9f2a1c27f 160000 --- a/vendor/trezor-common +++ b/vendor/trezor-common @@ -1 +1 @@ -Subproject commit c7dcca60c724c32ca3a688a6f20a055b0b4b3b1f +Subproject commit b9f2a1c27fc16f4a33934ef0816a05c834416436