Added block update

This commit is contained in:
obscuren
2014-07-18 11:57:58 +02:00
parent 44296c0b33
commit 34e2ab9f9f
3 changed files with 47 additions and 23 deletions

View File

@ -17,6 +17,8 @@ type DebuggerWindow struct {
vm *ethchain.Vm
Db *Debugger
state *ethchain.State
}
func NewDebuggerWindow(lib *UiLib) *DebuggerWindow {
@ -53,6 +55,7 @@ func (self *DebuggerWindow) SetCode(code string) {
func (self *DebuggerWindow) SetData(data string) {
self.win.Set("dataText", data)
}
func (self *DebuggerWindow) SetAsm(data []byte) {
self.win.Root().Call("clearAsm")