|
|
|
@ -6,6 +6,7 @@ from trezor.messages.TxRequest import TxRequest
|
|
|
|
|
|
|
|
|
|
from apps.common import coininfo, paths, seed
|
|
|
|
|
|
|
|
|
|
from ..common import BITCOIN_NAMES
|
|
|
|
|
from ..keychain import with_keychain
|
|
|
|
|
from . import bitcoin, helpers, layout, progress
|
|
|
|
|
|
|
|
|
@ -16,9 +17,6 @@ if False:
|
|
|
|
|
from typing import Type, Union
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BITCOIN_NAMES = ("Bitcoin", "Regtest", "Testnet")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@with_keychain
|
|
|
|
|
async def sign_tx(
|
|
|
|
|
ctx: wire.Context, msg: SignTx, keychain: seed.Keychain, coin: coininfo.CoinInfo
|
|
|
|
|