diff options
author | obscuren <geffobscura@gmail.com> | 2014-06-25 15:47:11 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-06-25 15:47:11 +0800 |
commit | 1e965cb8f5c63d73a5aac1556a2638345ba2824c (patch) | |
tree | 92abae274176a0d5388d962794883929a776f2b1 /ethereum | |
parent | fd1ddbce6892e3f0e09eec68687b6ef34b216888 (diff) | |
download | go-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.go | 2 |
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() |