Updated to new mutan api

This commit is contained in:
obscuren
2014-03-30 22:03:29 +02:00
parent 3fb7ae2fa1
commit ebbc5e7cb8
3 changed files with 8 additions and 8 deletions

View File

@ -190,7 +190,7 @@ func (i *Console) ParseInput(input string) bool {
}
case "contract":
fmt.Println("Contract editor (Ctrl-D = done)")
asm, err := mutan.NewCompiler().Compile(strings.NewReader(i.Editor()))
asm, err := mutan.Compile(strings.NewReader(i.Editor()), false)
if err != nil {
fmt.Println(err)
break