From c2a2fd11ea56548485a6dd1f1f952ffb6ee96ccf Mon Sep 17 00:00:00 2001 From: Tomas Krnak Date: Sun, 20 Nov 2022 15:01:45 +0700 Subject: [PATCH] style: make style --- core/src/apps/zcash/hasher.py | 4 ++-- core/src/apps/zcash/signer.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/apps/zcash/hasher.py b/core/src/apps/zcash/hasher.py index 8020b6040f..f5174d18fa 100644 --- a/core/src/apps/zcash/hasher.py +++ b/core/src/apps/zcash/hasher.py @@ -7,12 +7,11 @@ specification: https://zips.z.cash/zip-0244 from typing import TYPE_CHECKING -from trezor.crypto.hashlib import blake2b from trezor import utils +from trezor.crypto.hashlib import blake2b from trezor.utils import HashWriter, empty_bytearray from apps.bitcoin.common import SigHashType -from apps.common.writers import write_uint32_le, write_uint64_le from apps.bitcoin.writers import ( TX_HASH_SIZE, write_bytes_fixed, @@ -21,6 +20,7 @@ from apps.bitcoin.writers import ( write_tx_output, write_uint8, ) +from apps.common.writers import write_uint32_le, write_uint64_le if TYPE_CHECKING: from trezor.messages import TxInput, TxOutput, SignTx, PrevTx diff --git a/core/src/apps/zcash/signer.py b/core/src/apps/zcash/signer.py index 363920a256..057699c39c 100644 --- a/core/src/apps/zcash/signer.py +++ b/core/src/apps/zcash/signer.py @@ -1,9 +1,9 @@ from micropython import const from typing import TYPE_CHECKING +from trezor import utils from trezor.enums import OutputScriptType, ZcashSignatureType from trezor.messages import SignTx -from trezor import utils from trezor.wire import DataError, ProcessError from apps.bitcoin import scripts