1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-27 00:28:10 +00:00

src+test: fix flake8 warning

This commit is contained in:
Pavol Rusnak 2018-06-12 17:04:47 +02:00
parent da4bea34a0
commit 285c845e9b
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
4 changed files with 18 additions and 17 deletions

View File

@ -50,7 +50,8 @@ def validate_network(network: int) -> int:
def _validate_single_tx(msg: NEMSignTx):
# ensure exactly one transaction is provided
tx_count = bool(msg.transfer) + \
tx_count = \
bool(msg.transfer) + \
bool(msg.provision_namespace) + \
bool(msg.mosaic_creation) + \
bool(msg.supply_change) + \