From 9fc966c7dbe75561d437e38712e1180d4df52df5 Mon Sep 17 00:00:00 2001 From: AnilChinchwale Date: Fri, 9 Nov 2018 12:56:56 +0530 Subject: [PATCH] Broadcast special Tx through pairRW --- core/blockchain.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/blockchain.go b/core/blockchain.go index 04451a9006..c39227945b 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -690,7 +690,7 @@ func (bc *BlockChain) procFutureBlocks() { // Insert one by one as chain insertion needs contiguous ancestry between blocks for i := range blocks { - bc.InsertChain(blocks[i: i+1]) + bc.InsertChain(blocks[i : i+1]) } } } @@ -1243,7 +1243,7 @@ func (st *insertStats) report(chain []*types.Block, index int, cache common.Stor if index == len(chain)-1 || elapsed >= statsReportLimit { var ( end = chain[index] - txs = countTransactions(chain[st.lastIndex: index+1]) + txs = countTransactions(chain[st.lastIndex : index+1]) ) context := []interface{}{ "blocks", st.processed, "txs", txs, "mgas", float64(st.usedGas) / 1000000,