eth: use global event mux instead

This commit is contained in:
Bas van Kervel 2015-12-01 11:01:40 +01:00
parent f4a6470a7b
commit 61ca14bc44

View File

@ -191,7 +191,7 @@ func New(ctx *node.ServiceContext, config *Config) (*Ethereum, error) {
shutdownChan: make(chan bool), shutdownChan: make(chan bool),
chainDb: chainDb, chainDb: chainDb,
dappDb: dappDb, dappDb: dappDb,
eventMux: &event.TypeMux{}, eventMux: ctx.EventMux,
accountManager: config.AccountManager, accountManager: config.AccountManager,
etherbase: config.Etherbase, etherbase: config.Etherbase,
netVersionId: config.NetworkId, netVersionId: config.NetworkId,