aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-06-25 15:47:11 +0800
committerobscuren <geffobscura@gmail.com>2014-06-25 15:47:11 +0800
commit1e965cb8f5c63d73a5aac1556a2638345ba2824c (patch)
tree92abae274176a0d5388d962794883929a776f2b1 /ethereum
parentfd1ddbce6892e3f0e09eec68687b6ef34b216888 (diff)
downloadgo-tangerine-1e965cb8f5c63d73a5aac1556a2638345ba2824c.tar.gz
go-tangerine-1e965cb8f5c63d73a5aac1556a2638345ba2824c.tar.zst
go-tangerine-1e965cb8f5c63d73a5aac1556a2638345ba2824c.zip
Moved BlockDo to utils
Diffstat (limited to 'ethereum')
-rw-r--r--ethereum/javascript_runtime.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereum/javascript_runtime.go b/ethereum/javascript_runtime.go
index 92d9c119f..a9b12629a 100644
--- a/ethereum/javascript_runtime.go
+++ b/ethereum/javascript_runtime.go
@@ -215,7 +215,7 @@ func (self *JSRE) execBlock(call otto.FunctionCall) otto.Value {
return otto.UndefinedValue()
}
- err = self.ethereum.BlockDo(ethutil.FromHex(hash))
+ err = utils.BlockDo(self.ethereum, ethutil.FromHex(hash))
if err != nil {
fmt.Println(err)
return otto.FalseValue()