File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed
besu/src/main/java/org/hyperledger/besu/controller Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -625,7 +625,7 @@ public BesuController build() {
625625 ethereumWireProtocolConfiguration .isLegacyEth64ForkIdEnabled ());
626626 final EthPeers ethPeers =
627627 new EthPeers (
628- getSupportedProtocol () ,
628+ EthProtocol . NAME ,
629629 currentProtocolSpecSupplier ,
630630 clock ,
631631 metricsSystem ,
@@ -1022,15 +1022,6 @@ protected abstract ConsensusContext createConsensusContext(
10221022 final WorldStateArchive worldStateArchive ,
10231023 final ProtocolSchedule protocolSchedule );
10241024
1025- /**
1026- * Gets supported protocol.
1027- *
1028- * @return the supported protocol
1029- */
1030- protected String getSupportedProtocol () {
1031- return EthProtocol .NAME ;
1032- }
1033-
10341025 /**
10351026 * Create eth protocol manager eth protocol manager.
10361027 *
Original file line number Diff line number Diff line change @@ -228,11 +228,6 @@ protected void validateContext(final ProtocolContext context) {
228228 besuControllerBuilderSchedule .get (GENESIS_BLOCK_NUMBER ).validateContext (context );
229229 }
230230
231- @ Override
232- protected String getSupportedProtocol () {
233- return besuControllerBuilderSchedule .get (0L ).getSupportedProtocol ();
234- }
235-
236231 @ Override
237232 protected EthProtocolManager createEthProtocolManager (
238233 final ProtocolContext protocolContext ,
You can’t perform that action at this time.
0 commit comments