Browse Source

Windows build fix.

cl-refactor
Gav Wood 10 years ago
parent
commit
5ee6f9b978
  1. 2
      libp2p/RLPxHandshake.cpp

2
libp2p/RLPxHandshake.cpp

@ -214,7 +214,7 @@ void RLPXHandshake::transition(boost::system::error_code _ech)
else else
{ {
/// authenticate and decrypt header /// authenticate and decrypt header
if (!m_io->authAndDecryptHeader(bytesRef(m_handshakeInBuffer.data(), handshakeSize))) if (!m_io->authAndDecryptHeader(bytesRef(m_handshakeInBuffer.data(), m_handshakeInBuffer.size())))
{ {
m_nextState = Error; m_nextState = Error;
transition(); transition();

Loading…
Cancel
Save