Skip to content

Commit

Permalink
fix chain id indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
Prometheo committed Nov 5, 2024
1 parent 2611037 commit bbeb310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexer_app/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1438,7 +1438,7 @@ def process_vote_event(event_data, tx_hash, chain_id="stellar"):

# Process vote pairs
for pick in vote_data['picks']:
if chain_id == 1:
if chain_id == "NEAR":
pair_id = pick['pair_id']
project_id = pick['voted_project']
else:
Expand Down

0 comments on commit bbeb310

Please sign in to comment.