diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-29 01:35:49 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-29 01:36:23 +0800 |
commit | 872b2497114209119becf2e8a4d4a5818e2084ee (patch) | |
tree | fa20b37eca386628f4b3bb54e248704d5b742b6f /javascript/javascript_runtime.go | |
parent | 1146f25015b6d84072b71c490aba246e3010bd87 (diff) | |
download | go-tangerine-872b2497114209119becf2e8a4d4a5818e2084ee.tar.gz go-tangerine-872b2497114209119becf2e8a4d4a5818e2084ee.tar.zst go-tangerine-872b2497114209119becf2e8a4d4a5818e2084ee.zip |
further cleaned up xeth interface
Diffstat (limited to 'javascript/javascript_runtime.go')
-rw-r--r-- | javascript/javascript_runtime.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript/javascript_runtime.go b/javascript/javascript_runtime.go index adc9022b7..c780eb754 100644 --- a/javascript/javascript_runtime.go +++ b/javascript/javascript_runtime.go @@ -24,7 +24,7 @@ var jsrelogger = logger.NewLogger("JSRE") type JSRE struct { ethereum *eth.Ethereum Vm *otto.Otto - pipe *xeth.JSXEth + pipe *xeth.XEth events event.Subscription @@ -49,7 +49,7 @@ func NewJSRE(ethereum *eth.Ethereum) *JSRE { re := &JSRE{ ethereum, otto.New(), - xeth.NewJSXEth(ethereum), + xeth.New(ethereum), nil, make(map[string][]otto.Value), } |