diff --git a/back-end-projects/Explorer/src/main/java/com/github/ontio/service/impl/AddressServiceImpl.java b/back-end-projects/Explorer/src/main/java/com/github/ontio/service/impl/AddressServiceImpl.java index dae88ae1..88ae941f 100644 --- a/back-end-projects/Explorer/src/main/java/com/github/ontio/service/impl/AddressServiceImpl.java +++ b/back-end-projects/Explorer/src/main/java/com/github/ontio/service/impl/AddressServiceImpl.java @@ -1584,8 +1584,8 @@ private boolean verifyReCAPTCHAToken(String token) { public ResponseBean getAddressStakingInfo(String address, String channel) { List currentOffChainInfo = nodeInfoOffChainMapper.selectAllStakingNodeInfo(); List nodeStakeDtos = new ArrayList<>(); + initSDK(); if (ConstantParam.CHANNEL_ONTO.equalsIgnoreCase(channel)) { - initSDK(); int currentRound = sdk.getGovernanceView(); for (NodeInfoOffChain nodeInfoOffChain : currentOffChainInfo) { String publicKey = nodeInfoOffChain.getPublicKey();