From a8409b0a8bfa7f8434ede495094fd8d892c28c91 Mon Sep 17 00:00:00 2001 From: obscuren Date: Mon, 18 Aug 2014 01:35:42 +0200 Subject: Implementing new wallet views --- javascript/types.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'javascript') diff --git a/javascript/types.go b/javascript/types.go index 3a11e644b..afa0a41c6 100644 --- a/javascript/types.go +++ b/javascript/types.go @@ -73,15 +73,15 @@ type JSEthereum struct { } func (self *JSEthereum) GetBlock(hash string) otto.Value { - return self.toVal(&JSBlock{self.JSPipe.GetBlockByHash(hash), self}) + return self.toVal(&JSBlock{self.JSPipe.BlockByHash(hash), self}) } func (self *JSEthereum) GetPeers() otto.Value { - return self.toVal(self.JSPipe.GetPeers()) + return self.toVal(self.JSPipe.Peers()) } func (self *JSEthereum) GetKey() otto.Value { - return self.toVal(self.JSPipe.GetKey()) + return self.toVal(self.JSPipe.Key()) } func (self *JSEthereum) GetStateObject(addr string) otto.Value { -- cgit v1.2.3