aboutsummaryrefslogtreecommitdiffstats
path: root/eth/backend.go
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-12-01 18:01:40 +0800
committerBas van Kervel <bas@ethdev.com>2015-12-01 18:01:40 +0800
commit61ca14bc44dce04a125c9f633b047b8bbe7b3a83 (patch)
tree85a62d9cb3fd4b41b8a0df8de4ecda6ab2c0c29e /eth/backend.go
parentf4a6470a7b1eabb49e5dba56a46df650f23599aa (diff)
downloadgo-tangerine-61ca14bc44dce04a125c9f633b047b8bbe7b3a83.tar
go-tangerine-61ca14bc44dce04a125c9f633b047b8bbe7b3a83.tar.gz
go-tangerine-61ca14bc44dce04a125c9f633b047b8bbe7b3a83.tar.bz2
go-tangerine-61ca14bc44dce04a125c9f633b047b8bbe7b3a83.tar.lz
go-tangerine-61ca14bc44dce04a125c9f633b047b8bbe7b3a83.tar.xz
go-tangerine-61ca14bc44dce04a125c9f633b047b8bbe7b3a83.tar.zst
go-tangerine-61ca14bc44dce04a125c9f633b047b8bbe7b3a83.zip
eth: use global event mux instead
Diffstat (limited to 'eth/backend.go')
-rw-r--r--eth/backend.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go
index 0369f6afd..91f02db72 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -191,7 +191,7 @@ func New(ctx *node.ServiceContext, config *Config) (*Ethereum, error) {
shutdownChan: make(chan bool),
chainDb: chainDb,
dappDb: dappDb,
- eventMux: &event.TypeMux{},
+ eventMux: ctx.EventMux,
accountManager: config.AccountManager,
etherbase: config.Etherbase,
netVersionId: config.NetworkId,