mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-30 09:11:07 +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,
|
expiry: int = None,
|
||||||
overwintered: bool = None,
|
overwintered: bool = None,
|
||||||
version_group_id: int = None,
|
version_group_id: int = None,
|
||||||
|
timestamp: int = None,
|
||||||
) -> None:
|
) -> None:
|
||||||
self.outputs_count = outputs_count
|
self.outputs_count = outputs_count
|
||||||
self.inputs_count = inputs_count
|
self.inputs_count = inputs_count
|
||||||
@ -25,6 +26,7 @@ class SignTx(p.MessageType):
|
|||||||
self.expiry = expiry
|
self.expiry = expiry
|
||||||
self.overwintered = overwintered
|
self.overwintered = overwintered
|
||||||
self.version_group_id = version_group_id
|
self.version_group_id = version_group_id
|
||||||
|
self.timestamp = timestamp
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_fields(cls):
|
def get_fields(cls):
|
||||||
@ -37,4 +39,5 @@ class SignTx(p.MessageType):
|
|||||||
6: ('expiry', p.UVarintType, 0),
|
6: ('expiry', p.UVarintType, 0),
|
||||||
7: ('overwintered', p.BoolType, 0),
|
7: ('overwintered', p.BoolType, 0),
|
||||||
8: ('version_group_id', p.UVarintType, 0),
|
8: ('version_group_id', p.UVarintType, 0),
|
||||||
|
9: ('timestamp', p.UVarintType, 0),
|
||||||
}
|
}
|
||||||
|
@ -29,6 +29,7 @@ class TransactionType(p.MessageType):
|
|||||||
expiry: int = None,
|
expiry: int = None,
|
||||||
overwintered: bool = None,
|
overwintered: bool = None,
|
||||||
version_group_id: int = None,
|
version_group_id: int = None,
|
||||||
|
timestamp: int = None,
|
||||||
) -> None:
|
) -> None:
|
||||||
self.version = version
|
self.version = version
|
||||||
self.inputs = inputs if inputs is not None else []
|
self.inputs = inputs if inputs is not None else []
|
||||||
@ -42,6 +43,7 @@ class TransactionType(p.MessageType):
|
|||||||
self.expiry = expiry
|
self.expiry = expiry
|
||||||
self.overwintered = overwintered
|
self.overwintered = overwintered
|
||||||
self.version_group_id = version_group_id
|
self.version_group_id = version_group_id
|
||||||
|
self.timestamp = timestamp
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_fields(cls):
|
def get_fields(cls):
|
||||||
@ -58,4 +60,5 @@ class TransactionType(p.MessageType):
|
|||||||
10: ('expiry', p.UVarintType, 0),
|
10: ('expiry', p.UVarintType, 0),
|
||||||
11: ('overwintered', p.BoolType, 0),
|
11: ('overwintered', p.BoolType, 0),
|
||||||
12: ('version_group_id', p.UVarintType, 0),
|
12: ('version_group_id', p.UVarintType, 0),
|
||||||
|
13: ('timestamp', p.UVarintType, 0),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user