aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-05 18:22:02 +0800
committerobscuren <geffobscura@gmail.com>2015-01-05 18:22:02 +0800
commitb0854fbff5c3d588134f577918a39d08002235dc (patch)
tree0623c250f082d8fb71f906313c53826f42dbf943
parentc1dee151445d1d9700e0c623916299370868490c (diff)
downloaddexon-b0854fbff5c3d588134f577918a39d08002235dc.tar.gz
dexon-b0854fbff5c3d588134f577918a39d08002235dc.tar.zst
dexon-b0854fbff5c3d588134f577918a39d08002235dc.zip
BlockManager => BlockProcessor
-rw-r--r--core/block_processor.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/block_processor.go b/core/block_processor.go
index 40ff7cb40..83399f472 100644
--- a/core/block_processor.go
+++ b/core/block_processor.go
@@ -73,7 +73,7 @@ func (sm *BlockProcessor) TransitionState(statedb *state.StateDB, parent, block
coinbase := statedb.GetOrNewStateObject(block.Header().Coinbase)
coinbase.SetGasPool(CalcGasLimit(parent, block))
- // Process the transactions on to current block
+ // Process the transactions on to parent state
receipts, _, _, _, err = sm.ApplyTransactions(coinbase, statedb, block, block.Transactions(), false)
if err != nil {
return nil, err
@@ -224,7 +224,7 @@ func (sm *BlockProcessor) ProcessWithParent(block, parent *types.Block) (td *big
messages := state.Manifest().Messages
state.Manifest().Reset()
- chainlogger.Infof("Processed block #%d (%x...)\n", header.Number, block.Hash()[0:4])
+ chainlogger.Infof("processed block #%d (%x...)\n", header.Number, block.Hash()[0:4])
sm.txpool.RemoveSet(block.Transactions())