mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-15 20:19:23 +00:00
src/trezor/messages: regenerate
This commit is contained in:
parent
b3e668db8b
commit
1d43322d21
@ -16,6 +16,7 @@ class SignTx(p.MessageType):
|
||||
expiry: int = None,
|
||||
overwintered: bool = None,
|
||||
version_group_id: int = None,
|
||||
timestamp: int = None,
|
||||
) -> None:
|
||||
self.outputs_count = outputs_count
|
||||
self.inputs_count = inputs_count
|
||||
@ -25,6 +26,7 @@ class SignTx(p.MessageType):
|
||||
self.expiry = expiry
|
||||
self.overwintered = overwintered
|
||||
self.version_group_id = version_group_id
|
||||
self.timestamp = timestamp
|
||||
|
||||
@classmethod
|
||||
def get_fields(cls):
|
||||
@ -37,4 +39,5 @@ class SignTx(p.MessageType):
|
||||
6: ('expiry', p.UVarintType, 0),
|
||||
7: ('overwintered', p.BoolType, 0),
|
||||
8: ('version_group_id', p.UVarintType, 0),
|
||||
9: ('timestamp', p.UVarintType, 0),
|
||||
}
|
||||
|
@ -29,6 +29,7 @@ class TransactionType(p.MessageType):
|
||||
expiry: int = None,
|
||||
overwintered: bool = None,
|
||||
version_group_id: int = None,
|
||||
timestamp: int = None,
|
||||
) -> None:
|
||||
self.version = version
|
||||
self.inputs = inputs if inputs is not None else []
|
||||
@ -42,6 +43,7 @@ class TransactionType(p.MessageType):
|
||||
self.expiry = expiry
|
||||
self.overwintered = overwintered
|
||||
self.version_group_id = version_group_id
|
||||
self.timestamp = timestamp
|
||||
|
||||
@classmethod
|
||||
def get_fields(cls):
|
||||
@ -58,4 +60,5 @@ class TransactionType(p.MessageType):
|
||||
10: ('expiry', p.UVarintType, 0),
|
||||
11: ('overwintered', p.BoolType, 0),
|
||||
12: ('version_group_id', p.UVarintType, 0),
|
||||
13: ('timestamp', p.UVarintType, 0),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user