aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum/dev_console.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethereum/dev_console.go')
-rw-r--r--ethereum/dev_console.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereum/dev_console.go b/ethereum/dev_console.go
index ff25d694c..421c3fa60 100644
--- a/ethereum/dev_console.go
+++ b/ethereum/dev_console.go
@@ -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