Skip to content

Commit

Permalink
Merge pull request expanse-org#22 from happyuc-project/huc/v0.0.2
Browse files Browse the repository at this point in the history
drop tx when which opcode invalid
  • Loading branch information
ldcc committed May 21, 2018
2 parents 79f20e4 + 148f559 commit 5d4434d
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 5d4434d

Please sign in to comment.