aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/html_container.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-16 07:38:24 +0800
committerobscuren <geffobscura@gmail.com>2014-08-16 07:38:24 +0800
commit2eab964a00b998068f49b088949730f4896e256c (patch)
tree3264e7768f49948d8798519319b13f67ad39fbae /ethereal/html_container.go
parent8f1b461228a8e1cf81762c81037f879300f4989e (diff)
downloaddexon-2eab964a00b998068f49b088949730f4896e256c.tar
dexon-2eab964a00b998068f49b088949730f4896e256c.tar.gz
dexon-2eab964a00b998068f49b088949730f4896e256c.tar.bz2
dexon-2eab964a00b998068f49b088949730f4896e256c.tar.lz
dexon-2eab964a00b998068f49b088949730f4896e256c.tar.xz
dexon-2eab964a00b998068f49b088949730f4896e256c.tar.zst
dexon-2eab964a00b998068f49b088949730f4896e256c.zip
Switched over to ethpipe
Diffstat (limited to 'ethereal/html_container.go')
-rw-r--r--ethereal/html_container.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethereal/html_container.go b/ethereal/html_container.go
index 172fff08e..e682dc3eb 100644
--- a/ethereal/html_container.go
+++ b/ethereal/html_container.go
@@ -10,7 +10,7 @@ import (
"path/filepath"
"github.com/ethereum/eth-go/ethchain"
- "github.com/ethereum/eth-go/ethpub"
+ "github.com/ethereum/eth-go/ethpipe"
"github.com/ethereum/eth-go/ethstate"
"github.com/ethereum/eth-go/ethutil"
"github.com/ethereum/go-ethereum/javascript"
@@ -121,7 +121,7 @@ func (app *HtmlApplication) Window() *qml.Window {
}
func (app *HtmlApplication) NewBlock(block *ethchain.Block) {
- b := &ethpub.PBlock{Number: int(block.BlockInfo().Number), Hash: ethutil.Bytes2Hex(block.Hash())}
+ b := &ethpipe.JSBlock{Number: int(block.BlockInfo().Number), Hash: ethutil.Bytes2Hex(block.Hash())}
app.webView.Call("onNewBlockCb", b)
}