make gen && make style

pull/160/head
matejcik 5 years ago
parent 029f464f04
commit 0b50d671e1

@ -42,7 +42,6 @@ typedef struct _mp_obj_Pbkdf2_t {
STATIC mp_obj_t mod_trezorcrypto_Pbkdf2_update(mp_obj_t self, mp_obj_t data);
/// def __init__(
/// self,
/// prf: int,

@ -64,7 +64,6 @@ STATIC const secp256k1_context *mod_trezorcrypto_secp256k1_context(void) {
return ctx;
}
/// package: trezorcrypto.secp256k1_zkp
/// def generate_secret() -> bytes:

@ -68,8 +68,8 @@ def poll(ifaces: Iterable[int], list_ref: List, timeout_us: int) -> bool:
Wait until one of `ifaces` is ready to read or write (using masks
`list_ref`:
`list_ref[0]` - the interface number, including the mask
`list_ref[1]` - for touch event, tuple of (event_type, x_position,
y_position)
`list_ref[1]` - for touch event, tuple of:
(event_type, x_position, y_position)
- for USB read event, received bytes
If timeout occurs, False is returned, True otherwise.
"""

@ -8,12 +8,15 @@ class EthereumAddress(p.MessageType):
def __init__(
self,
old_address: bytes = None,
address: str = None,
) -> None:
self.old_address = old_address
self.address = address
@classmethod
def get_fields(cls):
return {
1: ('old_address', p.BytesType, 0),
2: ('address', p.UnicodeType, 0),
}

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save