aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/html_container.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-24 18:30:41 +0800
committerobscuren <geffobscura@gmail.com>2014-07-24 18:30:41 +0800
commita06a84d19b24da4005bc4d150f071ec4a703521b (patch)
tree68b5ff4d60831d278cea13ea2a95de8af04ff3ed /ethereal/html_container.go
parente7a80ec68165755678647f2d3e9b475d492a70dd (diff)
downloadgo-tangerine-a06a84d19b24da4005bc4d150f071ec4a703521b.tar.gz
go-tangerine-a06a84d19b24da4005bc4d150f071ec4a703521b.tar.zst
go-tangerine-a06a84d19b24da4005bc4d150f071ec4a703521b.zip
Refactored to reflect the new VM and State
Diffstat (limited to 'ethereal/html_container.go')
-rw-r--r--ethereal/html_container.go5
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))
}