xuperchain / xuper-java-sdk

The java sdk of xuperunion https://github.com/xuperchain/xuperunion
Apache License 2.0
27 stars 22 forks source link

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

Open zhangjxun opened 2 years ago

zhangjxun commented 2 years ago

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

superlitian commented 2 years ago

好的