Skip to content

Commit

Permalink
Merge Consumer & Filler
Browse files Browse the repository at this point in the history
  • Loading branch information
hiveben committed Dec 6, 2024
1 parent 46f4d11 commit 1290107
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1801,8 +1801,13 @@ def insert_atomic_asset(session, action):

log_error('{}: {}'.format('new_asset', new_asset))
log_error('{}: {}'.format('asset', asset))

asset_id = asset['asset_id']

try:
asset_id = asset['asset_id']
except Exception as err:
log_error('asset_id: {}'.format(err))
log_exception(err)
raise err
new_asset['contract'] = 'atomicassets'
new_asset['template_id'] = asset['template_id'] if 'template_id' in asset.keys() else None
new_asset['burnable'] = True
Expand Down

0 comments on commit 1290107

Please sign in to comment.