diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-12-01 18:01:40 +0800 |
---|---|---|
committer | Bas van Kervel <bas@ethdev.com> | 2015-12-01 18:01:40 +0800 |
commit | 61ca14bc44dce04a125c9f633b047b8bbe7b3a83 (patch) | |
tree | 85a62d9cb3fd4b41b8a0df8de4ecda6ab2c0c29e | |
parent | f4a6470a7b1eabb49e5dba56a46df650f23599aa (diff) | |
download | dexon-61ca14bc44dce04a125c9f633b047b8bbe7b3a83.tar dexon-61ca14bc44dce04a125c9f633b047b8bbe7b3a83.tar.gz dexon-61ca14bc44dce04a125c9f633b047b8bbe7b3a83.tar.bz2 dexon-61ca14bc44dce04a125c9f633b047b8bbe7b3a83.tar.lz dexon-61ca14bc44dce04a125c9f633b047b8bbe7b3a83.tar.xz dexon-61ca14bc44dce04a125c9f633b047b8bbe7b3a83.tar.zst dexon-61ca14bc44dce04a125c9f633b047b8bbe7b3a83.zip |
eth: use global event mux instead
-rw-r--r-- | eth/backend.go | 2 |
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, |