aboutsummaryrefslogtreecommitdiffstats
path: root/core/block_processor.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-06-12 17:18:17 +0800
committerobscuren <geffobscura@gmail.com>2015-06-12 17:18:17 +0800
commit02d629af8f63ca310c9419beba6d915592c43b25 (patch)
treec09bc2c8f58b024850981e03a134493677761ed5 /core/block_processor.go
parente2c2d8e15ebef85c77f7486f92c6430ca6f30785 (diff)
downloadgo-tangerine-02d629af8f63ca310c9419beba6d915592c43b25.tar
go-tangerine-02d629af8f63ca310c9419beba6d915592c43b25.tar.gz
go-tangerine-02d629af8f63ca310c9419beba6d915592c43b25.tar.bz2
go-tangerine-02d629af8f63ca310c9419beba6d915592c43b25.tar.lz
go-tangerine-02d629af8f63ca310c9419beba6d915592c43b25.tar.xz
go-tangerine-02d629af8f63ca310c9419beba6d915592c43b25.tar.zst
go-tangerine-02d629af8f63ca310c9419beba6d915592c43b25.zip
core/vm: fixed printable characters using unicode instead
Diffstat (limited to 'core/block_processor.go')
-rw-r--r--core/block_processor.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/block_processor.go b/core/block_processor.go
index 3ec3c585f..54378b2b9 100644
--- a/core/block_processor.go
+++ b/core/block_processor.go
@@ -71,14 +71,10 @@ func (sm *BlockProcessor) TransitionState(statedb *state.StateDB, parent, block
func (self *BlockProcessor) ApplyTransaction(coinbase *state.StateObject, statedb *state.StateDB, block *types.Block, tx *types.Transaction, usedGas *big.Int, transientProcess bool) (*types.Receipt, *big.Int, error) {
// If we are mining this block and validating we want to set the logs back to 0
- //statedb.EmptyLogs()
cb := statedb.GetStateObject(coinbase.Address())
_, gas, err := ApplyMessage(NewEnv(statedb, self.bc, tx, block), tx, cb)
if err != nil && (IsNonceErr(err) || state.IsGasLimitErr(err) || IsInvalidTxErr(err)) {
- // If the account is managed, remove the invalid nonce.
- //from, _ := tx.From()
- //self.bc.TxState().RemoveNonce(from, tx.Nonce())
return nil, nil, err
}