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

Account.HasContractAccount()没有合约用户却返回true #52

Open
zhangjxun opened this issue Jul 21, 2022 · 1 comment · May be fixed by #53
Open

Account.HasContractAccount()没有合约用户却返回true #52

zhangjxun opened this issue Jul 21, 2022 · 1 comment · May be fixed by #53

Comments

@zhangjxun
Copy link

zhangjxun commented Jul 21, 2022

Account.HasContractAccount()没有合约用户却返回true,估计是如下判断造成的
public boolean HasContractAccount() {
return this.contractAccount != "";
}
没有判断null的情况,建议修改

@superlitian
Copy link

好的

superlitian added a commit to superlitian/xuper-java-sdk that referenced this issue Aug 8, 2022
@superlitian superlitian linked a pull request Aug 8, 2022 that will close this issue
4 tasks
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

Successfully merging a pull request may close this issue.

2 participants