Skip to content

Commit

Permalink
Update getNodesByFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
leej1012 committed Jun 24, 2024
1 parent 8762ba0 commit 9acf874
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1005,6 +1005,9 @@ public PageResponseBean getNodesByFilter(NodesInfoDto dto) {
.feeSharingRatio(nodeInfoOffChain.getFeeSharingRatio()).ontologyHarbinger(nodeInfoOffChain.getOntologyHarbinger()).risky(nodeInfoOffChain.getRisky()).badActor(nodeInfoOffChain.getBadActor())
.build();
NodeInspire nodeInspire = nodeInspireMap.get(infoRespDto.getPublicKey());
if (nodeInspire == null) {
continue;
}
String userFoundationBonusIncentiveRate = nodeInspire.getUserFoundationBonusIncentiveRate();
String userGasFeeIncentiveRate = nodeInspire.getUserGasFeeIncentiveRate();
String userReleasedOngIncentiveRate = nodeInspire.getUserReleasedOngIncentiveRate();
Expand All @@ -1024,6 +1027,9 @@ public PageResponseBean getNodesByFilter(NodesInfoDto dto) {
.feeSharingRatio(nodeInfoOffChain.getFeeSharingRatio()).ontologyHarbinger(nodeInfoOffChain.getOntologyHarbinger()).risky(nodeInfoOffChain.getRisky()).badActor(nodeInfoOffChain.getBadActor())
.build();
NodeInspire nodeInspire = nodeInspireMap.get(infoRespDto.getPublicKey());
if (nodeInspire == null) {
continue;
}
String userFoundationBonusIncentiveRate = nodeInspire.getUserFoundationBonusIncentiveRate();
String userGasFeeIncentiveRate = nodeInspire.getUserGasFeeIncentiveRate();
String userReleasedOngIncentiveRate = nodeInspire.getUserReleasedOngIncentiveRate();
Expand Down

0 comments on commit 9acf874

Please sign in to comment.