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.
This commit is contained in:
moneromooo-monero 2017-08-09 19:01:27 +01:00
parent f43d59d8b3
commit 3ff5ce63c5
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ namespace cryptonote
struct cryptonote_connection_context: public epee::net_utils::connection_context_base 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 enum state
{ {