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 8665034 commit 86cce57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 86cce57

Please sign in to comment.