Merge branch 'develop' of github.com:ethereum/go-ethereum into develop

This commit is contained in:
Maran 2014-05-21 12:14:55 +02:00
commit 34008da807
2 changed files with 5 additions and 1 deletions

View File

@ -234,7 +234,7 @@ func (gui *Gui) update() {
gui.setWalletValue(object.Amount, nil) gui.setWalletValue(object.Amount, nil)
state.SetStateObject(object) state.UpdateStateObject(object)
} }
} }
} }

View File

@ -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())
} }