diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-08-09 19:01:27 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-08-09 19:01:27 +0100 |
commit | 3ff5ce63c542677b1921af34bfe42a8e7a3e17b4 (patch) | |
tree | 848954f28f95716b39e78661559f830055553d35 /src/cryptonote_basic | |
parent | Merge pull request #2269 (diff) | |
download | monero-3ff5ce63c542677b1921af34bfe42a8e7a3e17b4.tar.xz |
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.
Diffstat (limited to 'src/cryptonote_basic')
-rw-r--r-- | src/cryptonote_basic/connection_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |