Improve "TX failed" error message.

This commit is contained in:
Joel Burget 2017-09-07 18:54:17 -04:00
parent 4bf755c630
commit b11a97d454
1 changed files with 1 additions and 1 deletions

View File

@ -369,7 +369,7 @@ func (env *work) commitTransactions(txes *types.TransactionsByPriceAndNonce, bc
publicReceipt, privateReceipt, err := env.commitTransaction(tx, bc, gp)
switch {
case err != nil:
log.Info("TX failed, will be removed", "hash", tx.Hash().Bytes()[:4], "err", err)
log.Info("TX failed, will be removed", "hash", tx.Hash(), "err", err)
txes.Pop() // skip rest of txes from this account
default:
txCount++