From 03403399fcd4abf106a098f15bc7186197bd09bc Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 13 Mar 2015 17:47:11 +0100 Subject: Return proper error --- miner/worker.go | 1 + 1 file changed, 1 insertion(+) (limited to 'miner/worker.go') 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 -- cgit