|
|
@ -22,7 +22,9 @@ from trezorlib import protobuf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PrimitiveMessage(protobuf.MessageType):
|
|
|
|
class PrimitiveMessage(protobuf.MessageType):
|
|
|
|
FIELDS = {
|
|
|
|
@classmethod
|
|
|
|
|
|
|
|
def get_fields(cls):
|
|
|
|
|
|
|
|
return {
|
|
|
|
0: ("uvarint", protobuf.UVarintType, 0),
|
|
|
|
0: ("uvarint", protobuf.UVarintType, 0),
|
|
|
|
1: ("svarint", protobuf.SVarintType, 0),
|
|
|
|
1: ("svarint", protobuf.SVarintType, 0),
|
|
|
|
2: ("bool", protobuf.BoolType, 0),
|
|
|
|
2: ("bool", protobuf.BoolType, 0),
|
|
|
|