Actually get the certificate_id

This commit is contained in:
hackrush 2018-12-25 12:16:06 +05:30
parent 6aa709e34e
commit e6528963ad

View file

@ -605,7 +605,7 @@ class SQLiteStorage:
address = claim_info['address'] address = claim_info['address']
sequence = claim_info['claim_sequence'] sequence = claim_info['claim_sequence']
try: try:
certificate_id = claim_info['value'].get('content_claims_to_update', {}).get('certificateId') certificate_id = claim_info['value'].get('publisherSignature', {}).get('certificateId')
except AttributeError: except AttributeError:
certificate_id = None certificate_id = None
try: try: