Skip to content

Commit

Permalink
fix issues xuperchain#52
Browse files Browse the repository at this point in the history
  • Loading branch information
superlitian committed Aug 8, 2022
1 parent d2a99e2 commit 327151c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/baidu/xuper/api/Account.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import com.google.gson.Gson;
import com.google.gson.stream.JsonReader;
import org.apache.commons.lang.StringUtils;

import java.io.*;
import java.nio.charset.Charset;
Expand Down Expand Up @@ -199,7 +200,7 @@ public String getAuthRequireId() {
* @return boolean
*/
public boolean HasContractAccount() {
return this.contractAccount != "";
return StringUtils.isNotBlank(this.contractAccount);
}


Expand Down

0 comments on commit 327151c

Please sign in to comment.