From 65481308e6d8eb6cf34aed713f539ea16bf3537f Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Thu, 23 Nov 2017 16:45:40 +0100 Subject: [PATCH] wallet/signing: imports fix --- src/apps/wallet/sign_tx/segwit_bip143.py | 1 + src/apps/wallet/sign_tx/signing.py | 1 + src/apps/wallet/sign_tx/writers.py | 5 ++--- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/apps/wallet/sign_tx/segwit_bip143.py b/src/apps/wallet/sign_tx/segwit_bip143.py index e19d1a4e4..8168ce1b9 100644 --- a/src/apps/wallet/sign_tx/segwit_bip143.py +++ b/src/apps/wallet/sign_tx/segwit_bip143.py @@ -2,6 +2,7 @@ from trezor.crypto.hashlib import sha256 from trezor.messages.SignTx import SignTx from trezor.messages import InputScriptType, FailureType +from apps.wallet.sign_tx.writers import * class Bip143Error(ValueError): pass diff --git a/src/apps/wallet/sign_tx/signing.py b/src/apps/wallet/sign_tx/signing.py index 6e948456d..2106bf00b 100644 --- a/src/apps/wallet/sign_tx/signing.py +++ b/src/apps/wallet/sign_tx/signing.py @@ -14,6 +14,7 @@ from apps.common import coins from apps.wallet.sign_tx.segwit_bip143 import * from apps.wallet.sign_tx.helpers import * from apps.wallet.sign_tx.scripts import * +from apps.wallet.sign_tx.writers import * # the number of bip32 levels used in a wallet (chain and address) _BIP32_WALLET_DEPTH = const(2) diff --git a/src/apps/wallet/sign_tx/writers.py b/src/apps/wallet/sign_tx/writers.py index 18eb757b9..2e4bd857f 100644 --- a/src/apps/wallet/sign_tx/writers.py +++ b/src/apps/wallet/sign_tx/writers.py @@ -1,9 +1,8 @@ -from micropython import const -from trezor.messages.TxOutputBinType import TxOutputBinType -from trezor.messages.TxInputType import TxInputType from trezor.crypto.hashlib import sha256 +from apps.wallet.sign_tx.writers import * + # TX Serialization # ===