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 88ae941f..03a68201 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 @@ -1643,7 +1643,7 @@ private void putStakingInfoList4Onto(String stakingInfo, NodeInfoOffChain nodeIn dto.setNodePubKey(publicKey); dto.setNodeWalletAddress(address); dto.setAmount(String.valueOf(stakedAmount)); - dto.setProcessingAmount(newPos.toString()); + dto.setProcessingAmount(newPos == 0 ? "" : newPos.toString()); dto.setState(StakeStatusEnum.IN_STAKE.state()); dto.setNodeType(nodeType); dto.setNodeState(nodeStatus);