diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-31 17:59:17 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-31 17:59:17 +0800 |
commit | 3ee0461cb5b6e4a5e2d287180afbdb681805a662 (patch) | |
tree | f245667a9e3f5f0ff23bb1c89f4f7cc783f4949c /cmd/mist/qml_container.go | |
parent | 8e0a39f33f9d24ebeca9cc88edf24cc6294552d7 (diff) | |
download | dexon-3ee0461cb5b6e4a5e2d287180afbdb681805a662.tar dexon-3ee0461cb5b6e4a5e2d287180afbdb681805a662.tar.gz dexon-3ee0461cb5b6e4a5e2d287180afbdb681805a662.tar.bz2 dexon-3ee0461cb5b6e4a5e2d287180afbdb681805a662.tar.lz dexon-3ee0461cb5b6e4a5e2d287180afbdb681805a662.tar.xz dexon-3ee0461cb5b6e4a5e2d287180afbdb681805a662.tar.zst dexon-3ee0461cb5b6e4a5e2d287180afbdb681805a662.zip |
Moved ethchain to chain
Diffstat (limited to 'cmd/mist/qml_container.go')
-rw-r--r-- | cmd/mist/qml_container.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/mist/qml_container.go b/cmd/mist/qml_container.go index 7538fb919..3318786e7 100644 --- a/cmd/mist/qml_container.go +++ b/cmd/mist/qml_container.go @@ -21,7 +21,7 @@ import ( "fmt" "runtime" - "github.com/ethereum/go-ethereum/ethchain" + "github.com/ethereum/go-ethereum/chain" "github.com/ethereum/go-ethereum/ethpipe" "github.com/ethereum/go-ethereum/ethstate" "github.com/ethereum/go-ethereum/ethutil" @@ -65,7 +65,7 @@ func (app *QmlApplication) NewWatcher(quitChan chan bool) { } // Events -func (app *QmlApplication) NewBlock(block *ethchain.Block) { +func (app *QmlApplication) NewBlock(block *chain.Block) { pblock := ðpipe.JSBlock{Number: int(block.BlockInfo().Number), Hash: ethutil.Bytes2Hex(block.Hash())} app.win.Call("onNewBlockCb", pblock) } |