Commit adf501df authored by linj's avatar linj Committed by vipwzw

add fork to enable jsvm

parent 3a93babc
...@@ -57,6 +57,7 @@ var ( ...@@ -57,6 +57,7 @@ var (
func init() { func init() {
types.AllowUserExec = append(types.AllowUserExec, []byte(JsX)) types.AllowUserExec = append(types.AllowUserExec, []byte(JsX))
types.RegistorExecutor(JsX, NewType()) types.RegistorExecutor(JsX, NewType())
types.RegisterDappFork(JsX, "Enable", 0)
} }
//JsType 类型 //JsType 类型
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment