Skip to content

Commit

Permalink
drop tx when which opcode invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
ldcc committed May 21, 2018
1 parent 24e351e commit 148f559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ func (env *Work) commitTransactions(mux *event.TypeMux, txs *types.TransactionsB
// Strange error, discard the transaction and get the next in line (note, the
// nonce-too-high clause will prevent us from executing in vain).
log.Warn("Transaction failed, account skipped", "hash", tx.Hash(), "err", err)
txs.Shift()
txs.Pop()
}
}

Expand Down

0 comments on commit 148f559

Please sign in to comment.