diff options
author | obscuren <geffobscura@gmail.com> | 2014-07-24 18:30:41 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-07-24 18:30:41 +0800 |
commit | a06a84d19b24da4005bc4d150f071ec4a703521b (patch) | |
tree | 68b5ff4d60831d278cea13ea2a95de8af04ff3ed /ethereal/html_container.go | |
parent | e7a80ec68165755678647f2d3e9b475d492a70dd (diff) | |
download | dexon-a06a84d19b24da4005bc4d150f071ec4a703521b.tar dexon-a06a84d19b24da4005bc4d150f071ec4a703521b.tar.gz dexon-a06a84d19b24da4005bc4d150f071ec4a703521b.tar.bz2 dexon-a06a84d19b24da4005bc4d150f071ec4a703521b.tar.lz dexon-a06a84d19b24da4005bc4d150f071ec4a703521b.tar.xz dexon-a06a84d19b24da4005bc4d150f071ec4a703521b.tar.zst dexon-a06a84d19b24da4005bc4d150f071ec4a703521b.zip |
Refactored to reflect the new VM and State
Diffstat (limited to 'ethereal/html_container.go')
-rw-r--r-- | ethereal/html_container.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ethereal/html_container.go b/ethereal/html_container.go index 04136f801..b00d3f78e 100644 --- a/ethereal/html_container.go +++ b/ethereal/html_container.go @@ -4,6 +4,7 @@ import ( "errors" "github.com/ethereum/eth-go/ethchain" "github.com/ethereum/eth-go/ethpub" + "github.com/ethereum/eth-go/ethstate" "github.com/ethereum/eth-go/ethutil" "github.com/go-qml/qml" "github.com/howeyc/fsnotify" @@ -121,11 +122,11 @@ func (app *HtmlApplication) NewBlock(block *ethchain.Block) { app.webView.Call("onNewBlockCb", b) } -func (app *HtmlApplication) ObjectChanged(stateObject *ethchain.StateObject) { +func (app *HtmlApplication) ObjectChanged(stateObject *ethstate.StateObject) { app.webView.Call("onObjectChangeCb", ethpub.NewPStateObject(stateObject)) } -func (app *HtmlApplication) StorageChanged(storageObject *ethchain.StorageState) { +func (app *HtmlApplication) StorageChanged(storageObject *ethstate.StorageState) { app.webView.Call("onStorageChangeCb", ethpub.NewPStorageState(storageObject)) } |