Skip to content

Commit

Permalink
Update getCurrentStake
Browse files Browse the repository at this point in the history
  • Loading branch information
leej1012 committed Jul 24, 2024
1 parent 24123e6 commit 39b1322
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class NodeInfoOnChainDto extends NodeInfoOnChain {
private Integer badActor;

@Transient
private String userApy;
private String apr;

public NodeInfoOnChainDto() {

Expand All @@ -45,6 +45,6 @@ public NodeInfoOnChainDto(NodeInfoOnChainDto nodeInfoOnChain) {
this.ontologyHarbinger = nodeInfoOnChain.getOntologyHarbinger();
this.risky = nodeInfoOnChain.getRisky();
this.badActor = nodeInfoOnChain.getBadActor();
this.userApy = nodeInfoOnChain.getUserApy();
this.apr = nodeInfoOnChain.getApr();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
b.fee_sharing_ratio,
b.risky,
b.bad_actor,
IFNULL(c.user_apy,'0.00%') as user_apy
IFNULL(c.user_apy,'0.00%') as apr
FROM tbl_node_info_on_chain a
LEFT JOIN tbl_node_info_off_chain b ON a.public_key = b.public_key
LEFT JOIN tbl_node_inspire c ON a.public_key = c.public_key
Expand Down

0 comments on commit 39b1322

Please sign in to comment.