mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Check "language" values in metadata too
not just in `asset.data`.
This commit is contained in:
parent
a62cc4e101
commit
7d419cb2e5
@ -49,7 +49,7 @@ class Transaction(Transaction):
|
||||
validate_txn_obj('asset', tx_body['asset'], 'data', validate_key)
|
||||
validate_txn_obj('metadata', tx_body, 'metadata', validate_key)
|
||||
validate_language_key(tx_body['asset'], 'data')
|
||||
|
||||
validate_language_key(tx_body, 'metadata')
|
||||
|
||||
class FastTransaction:
|
||||
"""A minimal wrapper around a transaction dictionary. This is useful for
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user