Skip to content

Commit

Permalink
eth: pull in a lost merge change
Browse files Browse the repository at this point in the history
  • Loading branch information
karalabe committed Apr 20, 2015
1 parent a32e799 commit 62ad6dc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions eth/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,11 @@ func New(config *Config) (*Ethereum, error) {
eth.txPool = core.NewTxPool(eth.EventMux(), eth.chainManager.State)
eth.blockProcessor = core.NewBlockProcessor(stateDb, extraDb, eth.pow, eth.txPool, eth.chainManager, eth.EventMux())
eth.chainManager.SetProcessor(eth.blockProcessor)
eth.whisper = whisper.New()
eth.shhVersionId = int(eth.whisper.Version())
eth.miner = miner.New(eth, eth.pow, config.MinerThreads)

if config.Shh {
eth.whisper = whisper.New()
eth.shhVersionId = int(eth.whisper.Version())
}
hasBlock := eth.chainManager.HasBlock
insertChain := eth.chainManager.InsertChain
td := eth.chainManager.Td()
Expand Down

0 comments on commit 62ad6dc

Please sign in to comment.