1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 19:18:56 +00:00

MessageType.type -> MessageType.wire_type

This commit is contained in:
Jan Pochyla 2016-05-19 16:48:17 +02:00 committed by Pavol Rusnak
parent f5b802d421
commit 362e835807
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -11,7 +11,7 @@ def process_type(t, cls, msg_id):
out = ["t = p.MessageType()", ]
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)