aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/qml_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/qml_container.go
parente7a80ec68165755678647f2d3e9b475d492a70dd (diff)
downloaddexon-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/qml_container.go')
-rw-r--r--ethereal/qml_container.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/ethereal/qml_container.go b/ethereal/qml_container.go
index cb43a99bd..1b420ee21 100644
--- a/ethereal/qml_container.go
+++ b/ethereal/qml_container.go
@@ -3,6 +3,7 @@ package main
import (
"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"
"runtime"
@@ -50,11 +51,11 @@ func (app *QmlApplication) NewBlock(block *ethchain.Block) {
app.win.Call("onNewBlockCb", pblock)
}
-func (app *QmlApplication) ObjectChanged(stateObject *ethchain.StateObject) {
+func (app *QmlApplication) ObjectChanged(stateObject *ethstate.StateObject) {
app.win.Call("onObjectChangeCb", ethpub.NewPStateObject(stateObject))
}
-func (app *QmlApplication) StorageChanged(storageObject *ethchain.StorageState) {
+func (app *QmlApplication) StorageChanged(storageObject *ethstate.StorageState) {
app.win.Call("onStorageChangeCb", ethpub.NewPStorageState(storageObject))
}