diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-01 16:30:37 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-01 16:30:37 +0800 |
commit | 3c319f93f2a0e66bc131cfa1e81be840b3242182 (patch) | |
tree | 9a4c78944acd6ee924eb86916f32d508de0b66a6 /ethereal/ext_app.go | |
parent | 834803f1e8ce45040045359185c8b8d75f63de2c (diff) | |
parent | 34e937c9761f963ac4d3c9781d72ae92e54c0761 (diff) | |
download | dexon-3c319f93f2a0e66bc131cfa1e81be840b3242182.tar dexon-3c319f93f2a0e66bc131cfa1e81be840b3242182.tar.gz dexon-3c319f93f2a0e66bc131cfa1e81be840b3242182.tar.bz2 dexon-3c319f93f2a0e66bc131cfa1e81be840b3242182.tar.lz dexon-3c319f93f2a0e66bc131cfa1e81be840b3242182.tar.xz dexon-3c319f93f2a0e66bc131cfa1e81be840b3242182.tar.zst dexon-3c319f93f2a0e66bc131cfa1e81be840b3242182.zip |
Merge branch 'ethersphere-feature/ethutil-refactor' into develop
Diffstat (limited to 'ethereal/ext_app.go')
-rw-r--r-- | ethereal/ext_app.go | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/ethereal/ext_app.go b/ethereal/ext_app.go index ac3e090f9..697630504 100644 --- a/ethereal/ext_app.go +++ b/ethereal/ext_app.go @@ -1,9 +1,9 @@ package main 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/ethstate" "github.com/ethereum/eth-go/ethutil" "github.com/go-qml/qml" @@ -25,8 +25,8 @@ type AppContainer interface { type ExtApplication struct { *ethpub.PEthereum - blockChan chan ethutil.React - changeChan chan ethutil.React + blockChan chan ethreact.Event + changeChan chan ethreact.Event quitChan chan bool watcherQuitChan chan bool @@ -38,8 +38,8 @@ type ExtApplication struct { func NewExtApplication(container AppContainer, lib *UiLib) *ExtApplication { app := &ExtApplication{ ethpub.NewPEthereum(lib.eth), - make(chan ethutil.React, 1), - make(chan ethutil.React, 1), + make(chan ethreact.Event, 100), + make(chan ethreact.Event, 100), make(chan bool), make(chan bool), container, @@ -58,8 +58,7 @@ func (app *ExtApplication) run() { err := app.container.Create() if err != nil { - fmt.Println(err) - + logger.Errorln(err) return } |