mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Change to single quotes
This commit is contained in:
parent
fe5d966dca
commit
7207f57879
@ -1039,7 +1039,7 @@ class Transaction(object):
|
|||||||
|
|
||||||
if tx_body.get('operation') == Transaction.CREATE:
|
if tx_body.get('operation') == Transaction.CREATE:
|
||||||
if proposed_tx_id != tx_body['asset'].get('id'):
|
if proposed_tx_id != tx_body['asset'].get('id'):
|
||||||
raise InvalidHash("CREATE tx has wrong asset_id")
|
raise InvalidHash('CREATE tx has wrong asset_id')
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_dict(cls, tx):
|
def from_dict(cls, tx):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user