afght12 commited on
Commit
eed803b
·
verified ·
1 Parent(s): b925697

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -27,7 +27,8 @@ async def get_leaderboard_data():
27
  com_price = get_com_price()
28
  blocks_in_day = 10_800
29
  client = CommuneClient(node_url)
30
- emission = await client.query("Emission", params=[netuid])
 
31
  scores = {}
32
  for uid, emi in enumerate(emission):
33
  scores[uid] = ((emi / 10**11) * blocks_in_day) * com_price
 
27
  com_price = get_com_price()
28
  blocks_in_day = 10_800
29
  client = CommuneClient(node_url)
30
+ emission = client.query("Emission", params=[netuid])
31
+ print("got tha emission")
32
  scores = {}
33
  for uid, emi in enumerate(emission):
34
  scores[uid] = ((emi / 10**11) * blocks_in_day) * com_price