actually get the certificate_id

This commit is contained in:
hackrush 2019-01-09 03:13:36 +05:30 committed by Lex Berezhny
parent 33392b3351
commit c4fac29ecb

View file

@ -541,7 +541,7 @@ class SQLiteStorage(SQLiteMixin):
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: