mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 22:56:43 +00:00
Minor fix
This commit is contained in:
parent
4bc2359c81
commit
4b6f1a6fd6
1 changed files with 3 additions and 0 deletions
|
|
@ -854,6 +854,9 @@ func (pool *TxPool) validateTxBasics(tx *types.Transaction, local bool) error {
|
|||
// validateTx checks whether a transaction is valid according to the consensus
|
||||
// rules and adheres to some heuristic limits of the local node (price and size).
|
||||
func (pool *TxPool) validateTx(tx *types.Transaction, _ bool) error {
|
||||
pool.currentStateMutex.Lock()
|
||||
defer pool.currentStateMutex.Unlock()
|
||||
|
||||
// Signature has been checked already, this cannot error.
|
||||
from, _ := types.Sender(pool.signer, tx)
|
||||
// Ensure the transaction adheres to nonce ordering
|
||||
|
|
|
|||
Loading…
Reference in a new issue