mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-08-05 13:26:57 +00:00
style: make style
This commit is contained in:
parent
4cb1824c7d
commit
c2a2fd11ea
@ -7,12 +7,11 @@ specification: https://zips.z.cash/zip-0244
|
|||||||
|
|
||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
from trezor.crypto.hashlib import blake2b
|
|
||||||
from trezor import utils
|
from trezor import utils
|
||||||
|
from trezor.crypto.hashlib import blake2b
|
||||||
from trezor.utils import HashWriter, empty_bytearray
|
from trezor.utils import HashWriter, empty_bytearray
|
||||||
|
|
||||||
from apps.bitcoin.common import SigHashType
|
from apps.bitcoin.common import SigHashType
|
||||||
from apps.common.writers import write_uint32_le, write_uint64_le
|
|
||||||
from apps.bitcoin.writers import (
|
from apps.bitcoin.writers import (
|
||||||
TX_HASH_SIZE,
|
TX_HASH_SIZE,
|
||||||
write_bytes_fixed,
|
write_bytes_fixed,
|
||||||
@ -21,6 +20,7 @@ from apps.bitcoin.writers import (
|
|||||||
write_tx_output,
|
write_tx_output,
|
||||||
write_uint8,
|
write_uint8,
|
||||||
)
|
)
|
||||||
|
from apps.common.writers import write_uint32_le, write_uint64_le
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from trezor.messages import TxInput, TxOutput, SignTx, PrevTx
|
from trezor.messages import TxInput, TxOutput, SignTx, PrevTx
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
from micropython import const
|
from micropython import const
|
||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
|
from trezor import utils
|
||||||
from trezor.enums import OutputScriptType, ZcashSignatureType
|
from trezor.enums import OutputScriptType, ZcashSignatureType
|
||||||
from trezor.messages import SignTx
|
from trezor.messages import SignTx
|
||||||
from trezor import utils
|
|
||||||
from trezor.wire import DataError, ProcessError
|
from trezor.wire import DataError, ProcessError
|
||||||
|
|
||||||
from apps.bitcoin import scripts
|
from apps.bitcoin import scripts
|
||||||
|
Loading…
Reference in New Issue
Block a user