enable clique poa consensus

This commit is contained in:
Angela Pratt 2018-09-05 09:49:53 -04:00
parent 159d813f35
commit d98f0fce0d
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ func newWorker(config *params.ChainConfig, engine consensus.Engine, coinbase com
unconfirmed: newUnconfirmedBlocks(eth.BlockChain(), miningLogAtDepth),
}
if _, ok := engine.(consensus.Istanbul); ok || !config.IsQuorum {
if _, ok := engine.(consensus.Istanbul); ok || !config.IsQuorum || config.Clique != nil {
// Subscribe TxPreEvent for tx pool
worker.txSub = eth.TxPool().SubscribeTxPreEvent(worker.txCh)
// Subscribe events for blockchain