From 16bd88c10ab3553984d180e3048839982c864f69 Mon Sep 17 00:00:00 2001 From: obscuren Date: Wed, 21 May 2014 12:14:39 +0200 Subject: Removed method name --- ethereum/repl.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ethereum') 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()) } -- cgit v1.2.3