aboutsummaryrefslogtreecommitdiffstats
path: root/core/block_processor.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-21 17:27:12 +0800
committerobscuren <geffobscura@gmail.com>2015-04-21 17:27:12 +0800
commit093d6d507465263fb9721aa0758b12a31b126c0b (patch)
tree8fcad14601691477757b6fd69611c54214817229 /core/block_processor.go
parent1d6d42919e3bd3e24cd9ff2f1534efb41cb5a216 (diff)
downloadgo-tangerine-093d6d507465263fb9721aa0758b12a31b126c0b.tar
go-tangerine-093d6d507465263fb9721aa0758b12a31b126c0b.tar.gz
go-tangerine-093d6d507465263fb9721aa0758b12a31b126c0b.tar.bz2
go-tangerine-093d6d507465263fb9721aa0758b12a31b126c0b.tar.lz
go-tangerine-093d6d507465263fb9721aa0758b12a31b126c0b.tar.xz
go-tangerine-093d6d507465263fb9721aa0758b12a31b126c0b.tar.zst
go-tangerine-093d6d507465263fb9721aa0758b12a31b126c0b.zip
core: removed nonce resetting from the block processor.
All nonce error handling has been moved to the worker
Diffstat (limited to 'core/block_processor.go')
-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 4c70872ac..28636a725 100644
--- a/core/block_processor.go
+++ b/core/block_processor.go
@@ -85,8 +85,8 @@ func (self *BlockProcessor) ApplyTransaction(coinbase *state.StateObject, stated
_, 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())
+ //from, _ := tx.From()
+ //self.bc.TxState().RemoveNonce(from, tx.Nonce())
return nil, nil, err
}