Skip to content

Commit

Permalink
Merge branch 'main' into bws-fix-restart
Browse files Browse the repository at this point in the history
  • Loading branch information
fab-10 committed Mar 10, 2023
2 parents 9eea27d + 62f4a51 commit 015c421
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ public ParsedExtraData parseExtraData(final BlockHeader header) {
}

private BlockHeaderFunctions getBlockHeaderFunctions(final SealableBlockHeader header) {
if (protocolSchedule instanceof ProtocolSchedule) {
return ((ProtocolSchedule) protocolSchedule)
.getByBlockNumber(header.getNumber())
.getBlockHeaderFunctions();
} else {
return protocolSchedule.getByBlockHeader(header).getBlockHeaderFunctions();
}
return protocolSchedule.getByBlockHeader(header).getBlockHeaderFunctions();
}
}

0 comments on commit 015c421

Please sign in to comment.