aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-21 18:14:39 +0800
committerobscuren <geffobscura@gmail.com>2014-05-21 18:14:39 +0800
commit16bd88c10ab3553984d180e3048839982c864f69 (patch)
treec5bfcd0fd13660ac4b661ce092dc544e04f13ebe /ethereum
parentd16d56d39f99aab6022291a28df288736e789985 (diff)
downloadgo-tangerine-16bd88c10ab3553984d180e3048839982c864f69.tar.gz
go-tangerine-16bd88c10ab3553984d180e3048839982c864f69.tar.zst
go-tangerine-16bd88c10ab3553984d180e3048839982c864f69.zip
Removed method name
Diffstat (limited to 'ethereum')
-rw-r--r--ethereum/repl.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/ethereum/repl.go b/ethereum/repl.go
index 29d38afef..d1243d19c 100644
--- a/ethereum/repl.go
+++ b/ethereum/repl.go
@@ -53,6 +53,10 @@ type JSEthereum struct {
vm *otto.Otto
}
+func (self *JSEthereum) GetBlock(hash string) otto.Value {
+ return self.toVal(self.PEthereum.GetBlock(hash))
+}
+
func (self *JSEthereum) GetKey() otto.Value {
return self.toVal(self.PEthereum.GetKey())
}