diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-21 21:51:45 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-21 21:51:45 +0800 |
commit | ce862ee7589a0780cebc8a7bb1cf6a75193d55a0 (patch) | |
tree | eeca42a9b105964c6229fd38e6f0616e49a39c25 /miner/worker.go | |
parent | 4300f2a0fae793ff73ea861dfe3f90ce97f5af40 (diff) | |
download | go-tangerine-ce862ee7589a0780cebc8a7bb1cf6a75193d55a0.tar.gz go-tangerine-ce862ee7589a0780cebc8a7bb1cf6a75193d55a0.tar.zst go-tangerine-ce862ee7589a0780cebc8a7bb1cf6a75193d55a0.zip |
Removed some comments
Diffstat (limited to 'miner/worker.go')
-rw-r--r-- | miner/worker.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/miner/worker.go b/miner/worker.go index ae6782aca..4a52a40fe 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -211,7 +211,8 @@ gasLimit: from, _ := tx.From() self.chain.TxState().RemoveNonce(from, tx.Nonce()) remove = append(remove, tx) - minerlogger.Infof("TX (%x) failed. Transaction will be removed\n", tx.Hash().Bytes()[:4]) + minerlogger.Infof("TX (%x) failed, will be removed: %v\n", tx.Hash().Bytes()[:4], err) + minerlogger.Infoln(tx) case state.IsGasLimitErr(err): minerlogger.Infof("Gas limit reached for block. %d TXs included in this block\n", i) // Break on gas limit |