mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-19 21:08:07 +00:00
nem: error on not yet implemented functions
This commit is contained in:
parent
3fc96805dd
commit
93ff3f074b
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user