|
|
|
@ -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) { |
|
|
|
|