Skip to content

Commit

Permalink
Update tasks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptobench committed Mar 4, 2024
1 parent 1f4bf70 commit c2ab2f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stats-backend/api2/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def v2_network_online_to_redis():
for node in serialized_data:
node_id = node["node_id"]
if node_id in success_rate_mapping:
node["taskReputation"] = success_rate_mapping[node_id]
node["taskReputation"] = success_rate_mapping[node_id] * 100
else:
node["taskReputation"] = None

Expand Down

0 comments on commit c2ab2f5

Please sign in to comment.