Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* fix-hyperledger#7810
Signed-off-by: vaidikcode <[email protected]>

* fix-hyperledger#7810
Signed-off-by: vaidikcode <[email protected]>

---------

Co-authored-by: Sally MacFarlane <[email protected]>
  • Loading branch information
vaidikcode and macfarla authored Nov 19, 2024
1 parent 58acfce commit 2384c09
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ public BesuController build() {
ethereumWireProtocolConfiguration.isLegacyEth64ForkIdEnabled());
final EthPeers ethPeers =
new EthPeers(
getSupportedProtocol(),
EthProtocol.NAME,
currentProtocolSpecSupplier,
clock,
metricsSystem,
Expand Down Expand Up @@ -1022,15 +1022,6 @@ protected abstract ConsensusContext createConsensusContext(
final WorldStateArchive worldStateArchive,
final ProtocolSchedule protocolSchedule);

/**
* Gets supported protocol.
*
* @return the supported protocol
*/
protected String getSupportedProtocol() {
return EthProtocol.NAME;
}

/**
* Create eth protocol manager eth protocol manager.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,6 @@ protected void validateContext(final ProtocolContext context) {
besuControllerBuilderSchedule.get(GENESIS_BLOCK_NUMBER).validateContext(context);
}

@Override
protected String getSupportedProtocol() {
return besuControllerBuilderSchedule.get(0L).getSupportedProtocol();
}

@Override
protected EthProtocolManager createEthProtocolManager(
final ProtocolContext protocolContext,
Expand Down

0 comments on commit 2384c09

Please sign in to comment.