Merge branch 'main' of github.com:hyperledger/besu into TransactionValidatorService

TransactionValidatorService
Sally MacFarlane 1 year ago
commit 5fadeca269
  1. 4
      ethereum/p2p/src/main/java/org/hyperledger/besu/ethereum/p2p/rlpx/connections/netty/AbstractHandshakeHandler.java

@ -97,7 +97,8 @@ abstract class AbstractHandshakeHandler extends SimpleChannelInboundHandler<Byte
ctx.writeAndFlush(nextMsg.get());
} else if (handshaker.getStatus() != Handshaker.HandshakeStatus.SUCCESS) {
LOG.debug("waiting for more bytes");
} else {
return;
}
final Bytes nodeId = handshaker.partyPubKey().getEncodedBytes();
if (!localNode.isReady()) {
@ -138,7 +139,6 @@ abstract class AbstractHandshakeHandler extends SimpleChannelInboundHandler<Byte
msg.retain();
ctx.fireChannelRead(msg);
}
}
private void disconnect(
final ChannelHandlerContext ctx, final DisconnectMessage.DisconnectReason reason) {

Loading…
Cancel
Save