diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-14 00:47:11 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-14 00:47:11 +0800 |
commit | 03403399fcd4abf106a098f15bc7186197bd09bc (patch) | |
tree | b5ebbf0330c6cc2d6aff3100511c4843c2d8593a /miner/worker.go | |
parent | a0266489b4592af751d87c59087ed25a32899de6 (diff) | |
download | go-tangerine-03403399fcd4abf106a098f15bc7186197bd09bc.tar.gz go-tangerine-03403399fcd4abf106a098f15bc7186197bd09bc.tar.zst go-tangerine-03403399fcd4abf106a098f15bc7186197bd09bc.zip |
Return proper error
Diffstat (limited to 'miner/worker.go')
-rw-r--r-- | miner/worker.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/miner/worker.go b/miner/worker.go index 9bcea1539..a39a0b43b 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -212,6 +212,7 @@ gasLimit: fallthrough case core.IsInvalidTxErr(err): // Remove invalid transactions + self.chain.TxState().RemoveNonce(tx.From(), tx.Nonce()) remove = append(remove, tx) case state.IsGasLimitErr(err): // Break on gas limit |