mirror of
https://gitee.com/BDWare/common
synced 2026-01-28 16:29:29 +00:00
fix: null point exception
This commit is contained in:
@@ -233,6 +233,8 @@ public class Contract extends SM2Verifiable implements Serializable {
|
||||
}
|
||||
|
||||
public JsonElement getCreateParam() {
|
||||
return createParam.getJsonElement();
|
||||
if (createParam != null)
|
||||
return createParam.getJsonElement();
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user