aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-08-09 20:23:17 +0200
committerRiccardo Spagni <ric@spagni.net>2017-08-09 20:23:17 +0200
commit181a008aa35f130e046ec906cbb1b2436a381a62 (patch)
tree848954f28f95716b39e78661559f830055553d35 /src/cryptonote_basic
parentf43d59d8b368f79231f536a26a668a55e1bf7ead (diff)
parent3ff5ce63c542677b1921af34bfe42a8e7a3e17b4 (diff)
downloadmonzero-core-181a008aa35f130e046ec906cbb1b2436a381a62.tar.gz
monzero-core-181a008aa35f130e046ec906cbb1b2436a381a62.tar.xz
monzero-core-181a008aa35f130e046ec906cbb1b2436a381a62.zip
Merge pull request #2271
3ff5ce63 connection_context: initialize state (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_basic')
-rw-r--r--src/cryptonote_basic/connection_context.h1
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
{