mirror of
https://gitee.com/BDWare/common
synced 2025-01-10 09:54:13 +00:00
fix: null point exception
This commit is contained in:
parent
1d3efbdb97
commit
47661ad923
@ -233,6 +233,8 @@ public class Contract extends SM2Verifiable implements Serializable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public JsonElement getCreateParam() {
|
public JsonElement getCreateParam() {
|
||||||
return createParam.getJsonElement();
|
if (createParam != null)
|
||||||
|
return createParam.getJsonElement();
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user