From 3ff5ce63c542677b1921af34bfe42a8e7a3e17b4 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 9 Aug 2017 19:01:27 +0100 Subject: [PATCH] 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. --- src/cryptonote_basic/connection_context.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cryptonote_basic/connection_context.h b/src/cryptonote_basic/connection_context.h index fefd91e1a..ff56b73d7 100644 --- a/src/cryptonote_basic/connection_context.h +++ b/src/cryptonote_basic/connection_context.h @@ -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 {