mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 15:46:43 +00:00
feat(miner): change invalid transaction log level to DEBUG (#224)
This commit is contained in:
parent
7e1b8b65a3
commit
286ffe2cbf
1 changed files with 2 additions and 2 deletions
|
|
@ -179,14 +179,14 @@ func (w *worker) sealBlockWith(
|
|||
}
|
||||
sender, err := types.LatestSignerForChainID(tx.ChainId()).Sender(tx)
|
||||
if err != nil {
|
||||
log.Info("Skip an invalid proposed transaction", "hash", tx.Hash(), "reason", err)
|
||||
log.Debug("Skip an invalid proposed transaction", "hash", tx.Hash(), "reason", err)
|
||||
continue
|
||||
}
|
||||
|
||||
env.state.Prepare(rules, sender, blkMeta.Beneficiary, tx.To(), vm.ActivePrecompiles(rules), tx.AccessList())
|
||||
env.state.SetTxContext(tx.Hash(), env.tcount)
|
||||
if _, err := w.commitTransaction(env, tx); err != nil {
|
||||
log.Info("Skip an invalid proposed transaction", "hash", tx.Hash(), "reason", err)
|
||||
log.Debug("Skip an invalid proposed transaction", "hash", tx.Hash(), "reason", err)
|
||||
continue
|
||||
}
|
||||
env.tcount++
|
||||
|
|
|
|||
Loading…
Reference in a new issue