From 32b0706f811d3fd12ed83dfb36cfaad3d8ac3469 Mon Sep 17 00:00:00 2001 From: Andrew Toth Date: Mon, 16 Sep 2024 10:52:26 -0400 Subject: [PATCH] style: import sort order --- core/src/apps/bitcoin/addresses.py | 5 +---- core/src/apps/bitcoin/scripts.py | 6 +++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/core/src/apps/bitcoin/addresses.py b/core/src/apps/bitcoin/addresses.py index 7c82a14469..4ebb23ce54 100644 --- a/core/src/apps/bitcoin/addresses.py +++ b/core/src/apps/bitcoin/addresses.py @@ -13,10 +13,7 @@ from .common import ( p2tr_multisig_tweaked_pubkey, ) from .multisig import multisig_get_dummy_pubkey -from .scripts import ( - output_script_native_segwit, - write_output_script_multisig, -) +from .scripts import output_script_native_segwit, write_output_script_multisig if TYPE_CHECKING: from trezor.crypto import bip32 diff --git a/core/src/apps/bitcoin/scripts.py b/core/src/apps/bitcoin/scripts.py index ba97108968..f2ba883a10 100644 --- a/core/src/apps/bitcoin/scripts.py +++ b/core/src/apps/bitcoin/scripts.py @@ -10,17 +10,17 @@ from apps.common.writers import write_compact_size from . import common from .common import ( - SigHashType, + LEAF_VERSION, OP_CHECKSIG, OP_CHECKSIGADD, OP_NUMEQUAL, - LEAF_VERSION, + SigHashType, p2tr_multisig_tweaked_pubkey, ) from .multisig import ( + multisig_get_dummy_pubkey, multisig_get_pubkeys, multisig_pubkey_index, - multisig_get_dummy_pubkey, ) from .readers import read_memoryview_prefixed, read_op_push from .writers import (