Merge branch 'develop' of github.com:ethereum/go-ethereum into develop
This commit is contained in:
commit
34008da807
|
@ -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 {
|
||||||
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())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue