diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-02 18:08:15 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-02 18:08:15 +0800 |
commit | 5a692b9f2bf265251b6f1faf171f55489b65b3de (patch) | |
tree | 735e88529c06133a8ee9315a2333cb0c69748ec6 /ethereal/ui/html_container.go | |
parent | 471bd398f380bc26ba3144a0834092036565e429 (diff) | |
download | go-tangerine-5a692b9f2bf265251b6f1faf171f55489b65b3de.tar go-tangerine-5a692b9f2bf265251b6f1faf171f55489b65b3de.tar.gz go-tangerine-5a692b9f2bf265251b6f1faf171f55489b65b3de.tar.bz2 go-tangerine-5a692b9f2bf265251b6f1faf171f55489b65b3de.tar.lz go-tangerine-5a692b9f2bf265251b6f1faf171f55489b65b3de.tar.xz go-tangerine-5a692b9f2bf265251b6f1faf171f55489b65b3de.tar.zst go-tangerine-5a692b9f2bf265251b6f1faf171f55489b65b3de.zip |
Moved API
Diffstat (limited to 'ethereal/ui/html_container.go')
-rw-r--r-- | ethereal/ui/html_container.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ethereal/ui/html_container.go b/ethereal/ui/html_container.go index 8e3ef0fc7..16cc531f2 100644 --- a/ethereal/ui/html_container.go +++ b/ethereal/ui/html_container.go @@ -4,6 +4,7 @@ import ( "errors" "github.com/ethereum/eth-go/ethchain" "github.com/ethereum/eth-go/ethutil" + "github.com/ethereum/go-ethereum/utils" "github.com/go-qml/qml" "math/big" "path/filepath" @@ -56,12 +57,12 @@ func (app *HtmlApplication) Window() *qml.Window { } func (app *HtmlApplication) NewBlock(block *ethchain.Block) { - b := &QBlock{Number: int(block.BlockInfo().Number), Hash: ethutil.Hex(block.Hash())} + b := &utils.PBlock{Number: int(block.BlockInfo().Number), Hash: ethutil.Hex(block.Hash())} app.webView.Call("onNewBlockCb", b) } func (app *HtmlApplication) ObjectChanged(stateObject *ethchain.StateObject) { - app.webView.Call("onObjectChangeCb", NewQStateObject(stateObject)) + app.webView.Call("onObjectChangeCb", utils.NewPStateObject(stateObject)) } func (app *HtmlApplication) StorageChanged(stateObject *ethchain.StateObject, addr []byte, value *big.Int) { |