mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +00:00
core/txpool/legacypool: remove explicit max blob count
This commit is contained in:
parent
3c3df888dc
commit
821604eb20
1 changed files with 2 additions and 3 deletions
|
|
@ -571,9 +571,8 @@ func (pool *LegacyPool) ValidateTxBasics(tx *types.Transaction) error {
|
||||||
1<<types.AccessListTxType |
|
1<<types.AccessListTxType |
|
||||||
1<<types.DynamicFeeTxType |
|
1<<types.DynamicFeeTxType |
|
||||||
1<<types.SetCodeTxType,
|
1<<types.SetCodeTxType,
|
||||||
MaxSize: txMaxSize,
|
MaxSize: txMaxSize,
|
||||||
MinTip: pool.gasTip.Load().ToBig(),
|
MinTip: pool.gasTip.Load().ToBig(),
|
||||||
MaxBlobCount: 0,
|
|
||||||
}
|
}
|
||||||
return txpool.ValidateTransaction(tx, pool.currentHead.Load(), pool.signer, opts)
|
return txpool.ValidateTransaction(tx, pool.currentHead.Load(), pool.signer, opts)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue