Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evidenceServiceImpl中的hashToNewEvidence未返回交易信息 #387

Open
zhouxin11111 opened this issue Oct 17, 2023 · 1 comment
Open

Comments

@zhouxin11111
Copy link

com.webank.weid.blockchain.protocol.response.ResponseData resp = evidenceBlockchainService.createEvidence(
hashValue,
signature,
extra,
timestamp,
privateKey
);
if (resp.getErrorCode() == ErrorCode.SUCCESS.getCode()) {
return new ResponseData<>(resp.getResult(), ErrorCode.SUCCESS);
} else {
return new ResponseData<>(StringUtils.EMPTY, resp.getErrorCode(), resp.getErrorMessage());
}

该处的 return new ResponseData<>(resp.getResult(), ErrorCode.SUCCESS);返回是否应该改成return new ResponseData<>(resp.getResult(), ErrorCode.SUCCESS,resp.getTransactionInfo());

@youwenbusi
Copy link
Contributor

我们将在下一个版本加入返回交易信息

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants