Fix typo in ProtocolScheduleBuilder (#1840)

Fix typo in word originalProtocolSpec

Signed-off-by: hp <hp_ctt@gmail.com>

Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
pull/1853/head
Helder Pinto 4 years ago committed by GitHub
parent d8b05d34fd
commit 1a9669de3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/ProtocolScheduleBuilder.java

@ -221,7 +221,7 @@ public class ProtocolScheduleBuilder {
.getClassicForkBlock() .getClassicForkBlock()
.ifPresent( .ifPresent(
classicBlockNumber -> { classicBlockNumber -> {
final ProtocolSpec originalProtocolSpce = final ProtocolSpec originalProtocolSpec =
protocolSchedule.getByBlockNumber(classicBlockNumber); protocolSchedule.getByBlockNumber(classicBlockNumber);
addProtocolSpec( addProtocolSpec(
protocolSchedule, protocolSchedule,
@ -230,7 +230,7 @@ public class ProtocolScheduleBuilder {
config.getContractSizeLimit(), config.getContractSizeLimit(),
config.getEvmStackSize(), config.getEvmStackSize(),
quorumCompatibilityMode)); quorumCompatibilityMode));
protocolSchedule.putMilestone(classicBlockNumber + 1, originalProtocolSpce); protocolSchedule.putMilestone(classicBlockNumber + 1, originalProtocolSpec);
}); });
addProtocolSpec( addProtocolSpec(

Loading…
Cancel
Save