aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/ui_lib.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-16 23:31:08 +0800
committerobscuren <geffobscura@gmail.com>2015-03-16 23:31:16 +0800
commit22893b7ac925c49168c119f293ea8befc3aff5cc (patch)
tree4c02c0d06cdf41729ec742775f2987fb7137bcc8 /cmd/mist/ui_lib.go
parent3cf51d5479ab91cee100c4ca04d9db3a848ff8d2 (diff)
downloadgo-tangerine-22893b7ac925c49168c119f293ea8befc3aff5cc.tar
go-tangerine-22893b7ac925c49168c119f293ea8befc3aff5cc.tar.gz
go-tangerine-22893b7ac925c49168c119f293ea8befc3aff5cc.tar.bz2
go-tangerine-22893b7ac925c49168c119f293ea8befc3aff5cc.tar.lz
go-tangerine-22893b7ac925c49168c119f293ea8befc3aff5cc.tar.xz
go-tangerine-22893b7ac925c49168c119f293ea8befc3aff5cc.tar.zst
go-tangerine-22893b7ac925c49168c119f293ea8befc3aff5cc.zip
removed compile
Diffstat (limited to 'cmd/mist/ui_lib.go')
-rw-r--r--cmd/mist/ui_lib.go11
1 files changed, 1 insertions, 10 deletions
diff --git a/cmd/mist/ui_lib.go b/cmd/mist/ui_lib.go
index b33b81267..90237d4cb 100644
--- a/cmd/mist/ui_lib.go
+++ b/cmd/mist/ui_lib.go
@@ -25,9 +25,9 @@ import (
"io/ioutil"
"path"
+ "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/eth"
- "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/event/filter"
"github.com/ethereum/go-ethereum/javascript"
"github.com/ethereum/go-ethereum/xeth"
@@ -137,15 +137,6 @@ func (self *UiLib) Transact(params map[string]interface{}) (string, error) {
)
}
-func (self *UiLib) Compile(code string) (string, error) {
- bcode, err := common.Compile(code, false)
- if err != nil {
- return err.Error(), err
- }
-
- return common.Bytes2Hex(bcode), err
-}
-
func (self *UiLib) Call(params map[string]interface{}) (string, error) {
object := mapToTxParams(params)