Commit 16bd88c1 authored by obscuren's avatar obscuren

Removed method name

parent d16d56d3
...@@ -234,7 +234,7 @@ func (gui *Gui) update() { ...@@ -234,7 +234,7 @@ func (gui *Gui) update() {
gui.setWalletValue(object.Amount, nil) gui.setWalletValue(object.Amount, nil)
state.SetStateObject(object) state.UpdateStateObject(object)
} }
} }
} }
......
...@@ -53,6 +53,10 @@ type JSEthereum struct { ...@@ -53,6 +53,10 @@ type JSEthereum struct {
vm *otto.Otto vm *otto.Otto
} }
func (self *JSEthereum) GetBlock(hash string) otto.Value {
return self.toVal(self.PEthereum.GetBlock(hash))
}
func (self *JSEthereum) GetKey() otto.Value { func (self *JSEthereum) GetKey() otto.Value {
return self.toVal(self.PEthereum.GetKey()) return self.toVal(self.PEthereum.GetKey())
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment