aboutsummaryrefslogtreecommitdiffstats
path: root/core/state_processor.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-11-24 23:24:04 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2016-11-25 05:12:54 +0800
commit12d654a6fc4580f9194a931032ebf0e1b1927279 (patch)
tree7d7654ee3c405f16a5361f52bb8bf84789989144 /core/state_processor.go
parentc04c8f10f04a41e762589358418c65fd99891bb4 (diff)
downloadgo-tangerine-12d654a6fc4580f9194a931032ebf0e1b1927279.tar.gz
go-tangerine-12d654a6fc4580f9194a931032ebf0e1b1927279.tar.zst
go-tangerine-12d654a6fc4580f9194a931032ebf0e1b1927279.zip
core, core/state: fixed consensus issue added touch revert
Implemented proper touch revert journal entries and copied a Parity consensus bug in order to remain in sync with the current longest chain.
Diffstat (limited to 'core/state_processor.go')
-rw-r--r--core/state_processor.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/state_processor.go b/core/state_processor.go
index 375b317f1..e346917c3 100644
--- a/core/state_processor.go
+++ b/core/state_processor.go
@@ -72,6 +72,7 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg
}
// Iterate over and process the individual transactions
for i, tx := range block.Transactions() {
+ //fmt.Println("tx:", i)
statedb.StartRecord(tx.Hash(), block.Hash(), i)
receipt, logs, _, err := ApplyTransaction(p.config, p.bc, gp, statedb, header, tx, totalUsedGas, cfg)
if err != nil {