Upgraded to new mutan
This commit is contained in:
parent
be7da48dad
commit
d3d9ed62e2
@ -50,7 +50,7 @@ func ReadConfig(base string) *config {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Config = &config{ExecPath: path, Debug: true, Ver: "0.5.0 RC2"}
|
Config = &config{ExecPath: path, Debug: true, Ver: "0.5.0 RC3"}
|
||||||
Config.Log = NewLogger(LogFile|LogStd, LogLevelDebug)
|
Config.Log = NewLogger(LogFile|LogStd, LogLevelDebug)
|
||||||
Config.SetClientString("/Ethereum(G)")
|
Config.SetClientString("/Ethereum(G)")
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ func Compile(script string) ([]byte, error) {
|
|||||||
|
|
||||||
func CompileScript(script string) ([]byte, []byte, error) {
|
func CompileScript(script string) ([]byte, []byte, error) {
|
||||||
// Preprocess
|
// Preprocess
|
||||||
mainInput, initInput := mutan.PreProcess(script)
|
mainInput, initInput := mutan.PreParse(script)
|
||||||
// Compile main script
|
// Compile main script
|
||||||
mainScript, err := Compile(mainInput)
|
mainScript, err := Compile(mainInput)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user