aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/ext_app.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <obscuren@users.noreply.github.com>2014-07-07 16:58:42 +0800
committerJeffrey Wilcke <obscuren@users.noreply.github.com>2014-07-07 16:58:42 +0800
commit0c132e4c9e88bc0e13ad424f4c3b51cd4f5e8354 (patch)
tree0399c40eff878c381413d96e2e304441edff775d /ethereal/ext_app.go
parentf9e2e5276f64d5a9c93fb55adda06365be14c26a (diff)
downloaddexon-0c132e4c9e88bc0e13ad424f4c3b51cd4f5e8354.tar
dexon-0c132e4c9e88bc0e13ad424f4c3b51cd4f5e8354.tar.gz
dexon-0c132e4c9e88bc0e13ad424f4c3b51cd4f5e8354.tar.bz2
dexon-0c132e4c9e88bc0e13ad424f4c3b51cd4f5e8354.tar.lz
dexon-0c132e4c9e88bc0e13ad424f4c3b51cd4f5e8354.tar.xz
dexon-0c132e4c9e88bc0e13ad424f4c3b51cd4f5e8354.tar.zst
dexon-0c132e4c9e88bc0e13ad424f4c3b51cd4f5e8354.zip
Revert "ethreact - Feature/ethutil refactor"
Diffstat (limited to 'ethereal/ext_app.go')
-rw-r--r--ethereal/ext_app.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/ethereal/ext_app.go b/ethereal/ext_app.go
index c02f5ccb3..17c342a1b 100644
--- a/ethereal/ext_app.go
+++ b/ethereal/ext_app.go
@@ -4,7 +4,6 @@ import (
"fmt"
"github.com/ethereum/eth-go/ethchain"
"github.com/ethereum/eth-go/ethpub"
- "github.com/ethereum/eth-go/ethreact"
"github.com/ethereum/eth-go/ethutil"
"github.com/go-qml/qml"
)
@@ -25,8 +24,8 @@ type AppContainer interface {
type ExtApplication struct {
*ethpub.PEthereum
- blockChan chan ethreact.Event
- changeChan chan ethreact.Event
+ blockChan chan ethutil.React
+ changeChan chan ethutil.React
quitChan chan bool
watcherQuitChan chan bool
@@ -38,8 +37,8 @@ type ExtApplication struct {
func NewExtApplication(container AppContainer, lib *UiLib) *ExtApplication {
app := &ExtApplication{
ethpub.NewPEthereum(lib.eth),
- make(chan ethreact.Event),
- make(chan ethreact.Event),
+ make(chan ethutil.React, 1),
+ make(chan ethutil.React, 1),
make(chan bool),
make(chan bool),
container,