diff options
author | Determinant <[email protected]> | 2020-09-16 19:00:25 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2020-09-16 19:00:25 -0400 |
commit | b1ac5e6ce73c37378e575d6291e3c5f1ee170430 (patch) | |
tree | 842889ed69fcf55a3dd3a0226e44ad54025d6a79 /miner | |
parent | 8478802ddacc027a8d8c866da9365f6739d9d9d4 (diff) |
build success
Diffstat (limited to 'miner')
-rw-r--r-- | miner/miner.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/miner/miner.go b/miner/miner.go index 57938e1..e8e59a4 100644 --- a/miner/miner.go +++ b/miner/miner.go @@ -30,7 +30,6 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" ) // Backend wraps all methods required for mining. @@ -60,7 +59,7 @@ type Miner struct { func New(eth Backend, config *Config, chainConfig *params.ChainConfig, mux *event.TypeMux, engine consensus.Engine, isLocalBlock func(block *types.Block) bool, mcb *MinerCallbacks) *Miner { return &Miner{ - worker: newWorker(config, chainConfig, engine, eth, mux, isLocalBlock, mcb), + worker: newWorker(config, chainConfig, engine, eth, mux, isLocalBlock, true, mcb), } } |