aboutsummaryrefslogtreecommitdiffstats
path: root/javascript
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-18 07:35:42 +0800
committerobscuren <geffobscura@gmail.com>2014-08-18 07:35:42 +0800
commita8409b0a8bfa7f8434ede495094fd8d892c28c91 (patch)
treef9ed41441280ad919da8be7d82a522209c30995b /javascript
parent5ae3deea86a4916eee07b30195da280957e2fd2f (diff)
downloadgo-tangerine-a8409b0a8bfa7f8434ede495094fd8d892c28c91.tar.gz
go-tangerine-a8409b0a8bfa7f8434ede495094fd8d892c28c91.tar.zst
go-tangerine-a8409b0a8bfa7f8434ede495094fd8d892c28c91.zip
Implementing new wallet views
Diffstat (limited to 'javascript')
-rw-r--r--javascript/types.go6
1 files changed, 3 insertions, 3 deletions
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 {