mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-11 16:00:57 +00:00
MessageType.type -> MessageType.wire_type
This commit is contained in:
parent
f5b802d421
commit
362e835807
@ -11,7 +11,7 @@ def process_type(t, cls, msg_id):
|
|||||||
out = ["t = p.MessageType()", ]
|
out = ["t = p.MessageType()", ]
|
||||||
|
|
||||||
if msg_id is not None:
|
if msg_id is not None:
|
||||||
out.append("t.type = const(%d)" % msg_id)
|
out.append("t.wire_type = %d" % msg_id)
|
||||||
|
|
||||||
print(" * type %s" % t)
|
print(" * type %s" % t)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user