diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-13 05:29:10 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-13 05:29:10 +0800 |
commit | 310ca62285d2d4aefed91efddefeac7e83b7671d (patch) | |
tree | 7ae305e8704daa5622f8a5ac470cc132a081d6b3 /miner | |
parent | 2ae90e1eba9dd98ea56c3b1ca38cb18fcfbbb622 (diff) | |
download | dexon-310ca62285d2d4aefed91efddefeac7e83b7671d.tar dexon-310ca62285d2d4aefed91efddefeac7e83b7671d.tar.gz dexon-310ca62285d2d4aefed91efddefeac7e83b7671d.tar.bz2 dexon-310ca62285d2d4aefed91efddefeac7e83b7671d.tar.lz dexon-310ca62285d2d4aefed91efddefeac7e83b7671d.tar.xz dexon-310ca62285d2d4aefed91efddefeac7e83b7671d.tar.zst dexon-310ca62285d2d4aefed91efddefeac7e83b7671d.zip |
Removed some of that gas pre pay magic
Diffstat (limited to 'miner')
-rw-r--r-- | miner/worker.go | 1 |
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) |