Skip to content

Commit 84dbf16

Browse files
committed
rename forkTimestampGetter to blobScheduleTimestampGetter
Signed-off-by: daniellehrner <daniel.lehrner@consensys.net>
1 parent 6126848 commit 84dbf16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/MainnetProtocolSpecs.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,12 +1278,12 @@ private static ProtocolSpecBuilder applyBlobSchedule(
12781278
final ProtocolSpecBuilder builder,
12791279
final GenesisConfigOptions genesisConfigOptions,
12801280
final Function<BlobScheduleOptions, Optional<BlobSchedule>> blobGetter,
1281-
final Function<GenesisConfigOptions, OptionalLong> forkTimestampGetter,
1281+
final Function<GenesisConfigOptions, OptionalLong> blobScheduleTimestampGetter,
12821282
final HardforkId hardforkId) {
12831283
// Only apply a fork's blob schedule if the fork is actually activated (has a timestamp).
12841284
// This prevents inactive BPO forks from overriding the blob schedule with stale values
12851285
// from the genesis config.
1286-
if (forkTimestampGetter.apply(genesisConfigOptions).isPresent()) {
1286+
if (blobScheduleTimestampGetter.apply(genesisConfigOptions).isPresent()) {
12871287
genesisConfigOptions
12881288
.getBlobScheduleOptions()
12891289
.flatMap(blobGetter)

0 commit comments

Comments
 (0)