Return proper error

This commit is contained in:
obscuren
2015-03-13 17:47:11 +01:00
parent a0266489b4
commit 03403399fc
4 changed files with 7 additions and 1 deletions

View File

@ -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