diff --git a/trezorlib/messages/Features.py b/trezorlib/messages/Features.py index a57f904..52858d0 100644 --- a/trezorlib/messages/Features.py +++ b/trezorlib/messages/Features.py @@ -32,5 +32,6 @@ class Features(p.MessageType): 24: ('fw_patch', p.UVarintType, 0), 25: ('fw_vendor', p.UnicodeType, 0), 26: ('fw_vendor_keys', p.BytesType, 0), + 27: ('state', p.BytesType, 0), } MESSAGE_WIRE_TYPE = 17 diff --git a/trezorlib/messages/Initialize.py b/trezorlib/messages/Initialize.py index 3c43572..01d4e42 100644 --- a/trezorlib/messages/Initialize.py +++ b/trezorlib/messages/Initialize.py @@ -4,4 +4,7 @@ from .. import protobuf as p class Initialize(p.MessageType): + FIELDS = { + 1: ('state', p.BytesType, 0), + } MESSAGE_WIRE_TYPE = 0