mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
all: style
This commit is contained in:
parent
b6c989226e
commit
456d98ac03
@ -7,12 +7,7 @@ from trezor.messages import TezosBallotType, TezosContractType
|
|||||||
from trezor.messages.TezosSignedTx import TezosSignedTx
|
from trezor.messages.TezosSignedTx import TezosSignedTx
|
||||||
|
|
||||||
from apps.common import paths
|
from apps.common import paths
|
||||||
from apps.common.writers import (
|
from apps.common.writers import write_bytes, write_uint8, write_uint32_be
|
||||||
write_bytes,
|
|
||||||
write_uint8,
|
|
||||||
write_uint16_be,
|
|
||||||
write_uint32_be,
|
|
||||||
)
|
|
||||||
from apps.tezos import CURVE, helpers, layout
|
from apps.tezos import CURVE, helpers, layout
|
||||||
|
|
||||||
PROPOSAL_LENGTH = const(32)
|
PROPOSAL_LENGTH = const(32)
|
||||||
|
@ -5,11 +5,10 @@ import hashlib
|
|||||||
import os
|
import os
|
||||||
import random
|
import random
|
||||||
|
|
||||||
|
import curve25519
|
||||||
import ecdsa
|
import ecdsa
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
import curve25519
|
|
||||||
|
|
||||||
|
|
||||||
def bytes2num(s):
|
def bytes2num(s):
|
||||||
res = 0
|
res = 0
|
||||||
|
@ -5,7 +5,6 @@ import os
|
|||||||
from binascii import hexlify, unhexlify
|
from binascii import hexlify, unhexlify
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from pyasn1.codec.ber.decoder import decode as ber_decode
|
from pyasn1.codec.ber.decoder import decode as ber_decode
|
||||||
from pyasn1.codec.der.decoder import decode as der_decode
|
from pyasn1.codec.der.decoder import decode as der_decode
|
||||||
from pyasn1.codec.der.encoder import encode as der_encode
|
from pyasn1.codec.der.encoder import encode as der_encode
|
||||||
|
Loading…
Reference in New Issue
Block a user