aboutsummaryrefslogtreecommitdiffstats
path: root/miner/worker.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-13 05:29:10 +0800
committerobscuren <geffobscura@gmail.com>2015-03-13 05:29:10 +0800
commit310ca62285d2d4aefed91efddefeac7e83b7671d (patch)
tree7ae305e8704daa5622f8a5ac470cc132a081d6b3 /miner/worker.go
parent2ae90e1eba9dd98ea56c3b1ca38cb18fcfbbb622 (diff)
downloadgo-tangerine-310ca62285d2d4aefed91efddefeac7e83b7671d.tar.gz
go-tangerine-310ca62285d2d4aefed91efddefeac7e83b7671d.tar.zst
go-tangerine-310ca62285d2d4aefed91efddefeac7e83b7671d.zip
Removed some of that gas pre pay magic
Diffstat (limited to 'miner/worker.go')
-rw-r--r--miner/worker.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/miner/worker.go b/miner/worker.go
index 61091f3c0..9bcea1539 100644
--- a/miner/worker.go
+++ b/miner/worker.go
@@ -261,7 +261,6 @@ func (self *worker) commitUncle(uncle *types.Header) error {
func (self *worker) commitTransaction(tx *types.Transaction) error {
snap := self.current.state.Copy()
- //fmt.Printf("proc %x %v\n", tx.Hash()[:3], tx.Nonce())
receipt, _, err := self.proc.ApplyTransaction(self.current.coinbase, self.current.state, self.current.block, tx, self.current.totalUsedGas, true)
if err != nil && (core.IsNonceErr(err) || state.IsGasLimitErr(err) || core.IsInvalidTxErr(err)) {
self.current.state.Set(snap)