mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-03 18:13:48 +00:00
Merge branch 'develop' of github.com:ethereum/go-ethereum into develop
This commit is contained in:
commit
34008da807
2 changed files with 5 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ func (gui *Gui) update() {
|
|||
|
||||
gui.setWalletValue(object.Amount, nil)
|
||||
|
||||
state.SetStateObject(object)
|
||||
state.UpdateStateObject(object)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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())
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue