diff --git a/src/main/entry/org/bdware/sc/bean/Contract.java b/src/main/entry/org/bdware/sc/bean/Contract.java index b79e35a..7536681 100644 --- a/src/main/entry/org/bdware/sc/bean/Contract.java +++ b/src/main/entry/org/bdware/sc/bean/Contract.java @@ -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; } }