Skip to content

Commit

Permalink
Update getAddressStakingInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
leej1012 committed May 28, 2024
1 parent 6ad0adc commit 8665034
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1584,8 +1584,8 @@ private boolean verifyReCAPTCHAToken(String token) {
public ResponseBean getAddressStakingInfo(String address, String channel) {
List<NodeInfoOffChain> currentOffChainInfo = nodeInfoOffChainMapper.selectAllStakingNodeInfo();
List<NodeStakeDto> nodeStakeDtos = new ArrayList<>();
initSDK();
if (ConstantParam.CHANNEL_ONTO.equalsIgnoreCase(channel)) {
initSDK();
int currentRound = sdk.getGovernanceView();
for (NodeInfoOffChain nodeInfoOffChain : currentOffChainInfo) {
String publicKey = nodeInfoOffChain.getPublicKey();
Expand Down

0 comments on commit 8665034

Please sign in to comment.