Skip to content

Commit

Permalink
Update selectBestApr
Browse files Browse the repository at this point in the history
  • Loading branch information
leej1012 committed Oct 14, 2024
1 parent fcd4969 commit e136ca3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@
FROM tbl_node_inspire a
INNER JOIN tbl_node_info_off_chain b
ON a.public_key = b.public_key
INNER JOIN tbl_node_info_on_chain c
ON a.public_key = c.public_key
WHERE b.bad_actor = 0
AND c.progress+0 <![CDATA[<]]> 100
ORDER BY a.user_apy+0 DESC
LIMIT 1;
</select>
Expand Down

0 comments on commit e136ca3

Please sign in to comment.