1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-19 12:58:13 +00:00

nem: error on not yet implemented functions

This commit is contained in:
Tomas Susanka 2018-03-27 13:52:56 +02:00 committed by Jan Pochyla
parent 3fc96805dd
commit 93ff3f074b

View File

@ -16,6 +16,10 @@ def validate(msg: NEMSignTx):
if msg.transaction is None:
raise ValueError('No common provided')
if msg.provision_namespace or msg.mosaic_creation or msg.supply_change or msg.aggregate_modification \
or msg.importance_transfer:
raise ValueError('Not yet implemented')
_validate_single_tx(msg)
_validate_common(msg.transaction)