mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 02:40:45 +00:00
parent
eef6327046
commit
5b5c39d849
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ func ValidateTransaction(tx *types.Transaction, head *types.Header, signer types
|
||||||
// Make sure the transaction is signed properly
|
// Make sure the transaction is signed properly
|
||||||
from, err := types.Sender(signer, tx)
|
from, err := types.Sender(signer, tx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return ErrInvalidSender
|
return fmt.Errorf("%w: %v", ErrInvalidSender, err)
|
||||||
}
|
}
|
||||||
// Limit nonce to 2^64-1 per EIP-2681
|
// Limit nonce to 2^64-1 per EIP-2681
|
||||||
if tx.Nonce()+1 < tx.Nonce() {
|
if tx.Nonce()+1 < tx.Nonce() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue