diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-17 01:02:41 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-17 01:02:41 +0800 |
commit | e5e265d024403a779297cbaf5aa0f8759e3e76e4 (patch) | |
tree | 87258c3603fd5ecc1e792475b89e9fb89eb460b2 /cmd/mist/ui_lib.go | |
parent | 5757f547a6339c770a6d85ad067107d34878858f (diff) | |
parent | 22893b7ac925c49168c119f293ea8befc3aff5cc (diff) | |
download | dexon-e5e265d024403a779297cbaf5aa0f8759e3e76e4.tar dexon-e5e265d024403a779297cbaf5aa0f8759e3e76e4.tar.gz dexon-e5e265d024403a779297cbaf5aa0f8759e3e76e4.tar.bz2 dexon-e5e265d024403a779297cbaf5aa0f8759e3e76e4.tar.lz dexon-e5e265d024403a779297cbaf5aa0f8759e3e76e4.tar.xz dexon-e5e265d024403a779297cbaf5aa0f8759e3e76e4.tar.zst dexon-e5e265d024403a779297cbaf5aa0f8759e3e76e4.zip |
Merge branch 'develop' into rpcfrontier
Diffstat (limited to 'cmd/mist/ui_lib.go')
-rw-r--r-- | cmd/mist/ui_lib.go | 11 |
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) |