diff --git a/src/main/src/org/bdware/server/CMDConf.java b/src/main/src/org/bdware/server/CMDConf.java index df903da..87680bf 100644 --- a/src/main/src/org/bdware/server/CMDConf.java +++ b/src/main/src/org/bdware/server/CMDConf.java @@ -1,5 +1,6 @@ package org.bdware.server; +import com.google.gson.JsonArray; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.bdware.sc.util.JsonUtil; @@ -38,7 +39,9 @@ public class CMDConf { public String clientToClusterPlugins = ""; public String tcpPlugins = ""; public String consistencyPlugins = ""; - public String startContract = ""; + public JsonArray startContract = null; + public String datachainConf = null; + public static CMDConf parseFile(String confPath) { CMDConf ret = null; File conf = new File(confPath);