File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -337,17 +337,6 @@ func (p *TxPool) HasBlobs(vhashes []common.Hash) bool {
337
337
return false
338
338
}
339
339
340
- // ValidateTxBasics checks whether a transaction is valid according to the consensus
341
- // rules, but does not check state-dependent validation such as sufficient balance.
342
- func (p * TxPool ) ValidateTxBasics (tx * types.Transaction ) error {
343
- for _ , subpool := range p .subpools {
344
- if subpool .Filter (tx ) {
345
- return subpool .ValidateTxBasics (tx )
346
- }
347
- }
348
- return fmt .Errorf ("%w: received type %d" , core .ErrTxTypeNotSupported , tx .Type ())
349
- }
350
-
351
340
// Add enqueues a batch of transactions into the pool if they are valid. Due
352
341
// to the large transaction churn, add may postpone fully integrating the tx
353
342
// to a later point to batch multiple ones together.
Original file line number Diff line number Diff line change @@ -454,7 +454,7 @@ func (api *ConsensusAPI) GetPayloadV4(payloadID engine.PayloadID) (*engine.Execu
454
454
return api .getPayload (payloadID , false )
455
455
}
456
456
457
- // GetPayloadV4 returns a cached payload by id.
457
+ // GetPayloadV5 returns a cached payload by id.
458
458
func (api * ConsensusAPI ) GetPayloadV5 (payloadID engine.PayloadID ) (* engine.ExecutionPayloadEnvelope , error ) {
459
459
if ! payloadID .Is (engine .PayloadV3 ) {
460
460
return nil , engine .UnsupportedFork
You can’t perform that action at this time.
0 commit comments