aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-08-17 21:35:48 +0200
committerRiccardo Spagni <ric@spagni.net>2017-08-17 21:35:48 +0200
commit1d32a5a445b06d68ddd3c60613452f8a4106f329 (patch)
tree92d6c6a765df863b2c77e8ebc31861432e505fcb /src/cryptonote_basic
parent4b2cc123ff48fdd2c62dbffc24c604c45c6fbf1d (diff)
parentb59cd0745bde449eb2c9860f8c07b89e764a6441 (diff)
downloadmonzero-core-1d32a5a445b06d68ddd3c60613452f8a4106f329.tar.gz
monzero-core-1d32a5a445b06d68ddd3c60613452f8a4106f329.tar.xz
monzero-core-1d32a5a445b06d68ddd3c60613452f8a4106f329.zip
Merge pull request #2291
b59cd074 befor -> before (Nano Akron)
Diffstat (limited to 'src/cryptonote_basic')
-rw-r--r--src/cryptonote_basic/connection_context.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cryptonote_basic/connection_context.h b/src/cryptonote_basic/connection_context.h
index 06f66120b..5c4cda9eb 100644
--- a/src/cryptonote_basic/connection_context.h
+++ b/src/cryptonote_basic/connection_context.h
@@ -39,12 +39,12 @@ 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),
+ cryptonote_connection_context(): m_state(state_before_handshake), m_remote_blockchain_height(0), m_last_response_height(0),
m_last_known_hash(cryptonote::null_hash) {}
enum state
{
- state_befor_handshake = 0, //default state
+ state_before_handshake = 0, //default state
state_synchronizing,
state_idle,
state_normal
@@ -65,8 +65,8 @@ namespace cryptonote
{
switch (s)
{
- case cryptonote_connection_context::state_befor_handshake:
- return "state_befor_handshake";
+ case cryptonote_connection_context::state_before_handshake:
+ return "state_before_handshake";
case cryptonote_connection_context::state_synchronizing:
return "state_synchronizing";
case cryptonote_connection_context::state_idle: