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 86cce57 commit cf120ae
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1643,7 +1643,9 @@ private void putStakingInfoList4Onto(String stakingInfo, NodeInfoOffChain nodeIn
dto.setNodePubKey(publicKey);
dto.setNodeWalletAddress(address);
dto.setAmount(String.valueOf(stakedAmount));
dto.setProcessingAmount(newPos == 0 ? "" : newPos.toString());
if (newPos > 0) {
dto.setProcessingAmount(newPos.toString());
}
dto.setState(StakeStatusEnum.IN_STAKE.state());
dto.setNodeType(nodeType);
dto.setNodeState(nodeStatus);
Expand Down

0 comments on commit cf120ae

Please sign in to comment.