Skip to content

Commit

Permalink
use name for chain
Browse files Browse the repository at this point in the history
  • Loading branch information
Prometheo committed Nov 5, 2024
1 parent c31a00b commit 49f770b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions indexer_app/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1574,11 +1574,11 @@ def create_or_update_round(event_data, contract_id, timestamp, chain_id="stellar

round_obj, created = Round.objects.update_or_create(
on_chain_id=round_id,
chain=Chain.objects.get(name=chain_id),
chain=chain,
defaults={
'owner': owner,
'factory_contract': factory_contract,
'chain_id': chain_id,
'chain': chain,
'name': event_data.get('name'),
'description': event_data.get('description'),
'expected_amount': event_data.get('expected_amount'),
Expand Down

0 comments on commit 49f770b

Please sign in to comment.