mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-18 05:28:40 +00:00
fix(core): bitcoin-only all_modules.py
This commit is contained in:
parent
13417d7e5a
commit
70bb0ee04f
1
core/.changelog.d/1633.fixed
Normal file
1
core/.changelog.d/1633.fixed
Normal file
@ -0,0 +1 @@
|
||||
Remove altcoin message definitions from bitcoin-only build.
|
@ -280,8 +280,6 @@ apps.bitcoin.sign_tx.tx_info
|
||||
import apps.bitcoin.sign_tx.tx_info
|
||||
apps.bitcoin.sign_tx.tx_weight
|
||||
import apps.bitcoin.sign_tx.tx_weight
|
||||
apps.bitcoin.sign_tx.zcash
|
||||
import apps.bitcoin.sign_tx.zcash
|
||||
apps.bitcoin.verification
|
||||
import apps.bitcoin.verification
|
||||
apps.bitcoin.verify_message
|
||||
@ -381,7 +379,7 @@ import apps.misc.sign_identity
|
||||
apps.workflow_handlers
|
||||
import apps.workflow_handlers
|
||||
|
||||
if utils.BITCOIN_ONLY:
|
||||
if not utils.BITCOIN_ONLY:
|
||||
trezor.enums.BinanceOrderSide
|
||||
import trezor.enums.BinanceOrderSide
|
||||
trezor.enums.BinanceOrderType
|
||||
@ -436,6 +434,8 @@ if utils.BITCOIN_ONLY:
|
||||
import apps.binance.layout
|
||||
apps.binance.sign_tx
|
||||
import apps.binance.sign_tx
|
||||
apps.bitcoin.sign_tx.zcash
|
||||
import apps.bitcoin.sign_tx.zcash
|
||||
apps.cardano
|
||||
import apps.cardano
|
||||
apps.cardano.address
|
||||
|
@ -28,6 +28,7 @@ ALTCOINS = (
|
||||
"stellar",
|
||||
"tezos",
|
||||
"webauthn",
|
||||
"zcash",
|
||||
)
|
||||
|
||||
pyfiles = chain.from_iterable(sorted(SRCDIR.glob(p)) for p in PATTERNS)
|
||||
@ -78,7 +79,7 @@ ${import_name}
|
||||
import ${import_name}
|
||||
% endfor
|
||||
|
||||
if utils.BITCOIN_ONLY:
|
||||
if not utils.BITCOIN_ONLY:
|
||||
% for import_name in imports_altcoin:
|
||||
${import_name}
|
||||
import ${import_name}
|
||||
|
Loading…
Reference in New Issue
Block a user