connection_context: initialize state

Why this was initialized properly before I have no idea, but
it is not anymore. Fix it, which fixes syncing in release mode.
pull/95/head
moneromooo-monero 7 years ago
parent f43d59d8b3
commit 3ff5ce63c5
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -39,6 +39,7 @@ namespace cryptonote
struct cryptonote_connection_context: public epee::net_utils::connection_context_base
{
cryptonote_connection_context(): m_state(state_befor_handshake), m_remote_blockchain_height(0), m_last_response_height(0) {}
enum state
{

Loading…
Cancel
Save