mirror of
https://github.com/monero-project/monero
synced 2025-10-06 08:42:47 +02:00
cryptonote_basic: remove state_idle in connection_context
This commit is contained in:
@@ -52,7 +52,6 @@ namespace cryptonote
|
||||
state_before_handshake = 0, //default state
|
||||
state_synchronizing,
|
||||
state_standby,
|
||||
state_idle,
|
||||
state_normal
|
||||
};
|
||||
|
||||
@@ -130,8 +129,6 @@ namespace cryptonote
|
||||
return "synchronizing";
|
||||
case cryptonote_connection_context::state_standby:
|
||||
return "standby";
|
||||
case cryptonote_connection_context::state_idle:
|
||||
return "idle";
|
||||
case cryptonote_connection_context::state_normal:
|
||||
return "normal";
|
||||
default:
|
||||
@@ -149,8 +146,6 @@ namespace cryptonote
|
||||
return 's';
|
||||
case cryptonote_connection_context::state_standby:
|
||||
return 'w';
|
||||
case cryptonote_connection_context::state_idle:
|
||||
return 'i';
|
||||
case cryptonote_connection_context::state_normal:
|
||||
return 'n';
|
||||
default:
|
||||
|
Reference in New Issue
Block a user