Skip to content

Commit b0854fb

Browse files
committed
BlockManager => BlockProcessor
1 parent c1dee15 commit b0854fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎core/block_processor.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func (sm *BlockProcessor) TransitionState(statedb *state.StateDB, parent, block
7373
coinbase := statedb.GetOrNewStateObject(block.Header().Coinbase)
7474
coinbase.SetGasPool(CalcGasLimit(parent, block))
7575

76-
// Process the transactions on to current block
76+
// Process the transactions on to parent state
7777
receipts, _, _, _, err = sm.ApplyTransactions(coinbase, statedb, block, block.Transactions(), false)
7878
if err != nil {
7979
return nil, err
@@ -224,7 +224,7 @@ func (sm *BlockProcessor) ProcessWithParent(block, parent *types.Block) (td *big
224224
messages := state.Manifest().Messages
225225
state.Manifest().Reset()
226226

227-
chainlogger.Infof("Processed block #%d (%x...)\n", header.Number, block.Hash()[0:4])
227+
chainlogger.Infof("processed block #%d (%x...)\n", header.Number, block.Hash()[0:4])
228228

229229
sm.txpool.RemoveSet(block.Transactions())
230230

0 commit comments

Comments
 (0)