mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-27 02:09:27 +00:00
core: fix should not use same index as ProcessWithdrawalQueue
This commit is contained in:
parent
efe58eac00
commit
0cbbbf113e
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ func PostExecution(ctx context.Context, config *params.ChainConfig, number *big.
|
||||||
return nil, nil, fmt.Errorf("failed to process withdrawal queue: %w", err)
|
return nil, nil, fmt.Errorf("failed to process withdrawal queue: %w", err)
|
||||||
}
|
}
|
||||||
// EIP-7251
|
// EIP-7251
|
||||||
if err := ProcessConsolidationQueue(&requests, rules, evm, blockAccessIndex, blockAccessList); err != nil {
|
if err := ProcessConsolidationQueue(&requests, rules, evm, blockAccessIndex+1, blockAccessList); err != nil {
|
||||||
return nil, nil, fmt.Errorf("failed to process consolidation queue: %w", err)
|
return nil, nil, fmt.Errorf("failed to process consolidation queue: %w", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue