mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-27 16:48:09 +00:00
src+test: fix flake8 warning
This commit is contained in:
parent
da4bea34a0
commit
285c845e9b
@ -50,7 +50,8 @@ def validate_network(network: int) -> int:
|
|||||||
|
|
||||||
def _validate_single_tx(msg: NEMSignTx):
|
def _validate_single_tx(msg: NEMSignTx):
|
||||||
# ensure exactly one transaction is provided
|
# ensure exactly one transaction is provided
|
||||||
tx_count = bool(msg.transfer) + \
|
tx_count = \
|
||||||
|
bool(msg.transfer) + \
|
||||||
bool(msg.provision_namespace) + \
|
bool(msg.provision_namespace) + \
|
||||||
bool(msg.mosaic_creation) + \
|
bool(msg.mosaic_creation) + \
|
||||||
bool(msg.supply_change) + \
|
bool(msg.supply_change) + \
|
||||||
|
Loading…
Reference in New Issue
Block a user