1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 09:28:13 +00:00

wallet/signing: imports fix

This commit is contained in:
Tomas Susanka 2017-11-23 16:45:40 +01:00
parent 165faaeba4
commit 65481308e6
3 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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)

View File

@ -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
# ===