mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
connection_context: remove "state_" prefix from state names
It's redundant and makes it easier to print them in columns
This commit is contained in:
parent
cd22cb807a
commit
9cc0d4220f
1 changed files with 5 additions and 5 deletions
|
@ -67,15 +67,15 @@ namespace cryptonote
|
|||
switch (s)
|
||||
{
|
||||
case cryptonote_connection_context::state_before_handshake:
|
||||
return "state_before_handshake";
|
||||
return "before_handshake";
|
||||
case cryptonote_connection_context::state_synchronizing:
|
||||
return "state_synchronizing";
|
||||
return "synchronizing";
|
||||
case cryptonote_connection_context::state_standby:
|
||||
return "state_standby";
|
||||
return "standby";
|
||||
case cryptonote_connection_context::state_idle:
|
||||
return "state_idle";
|
||||
return "idle";
|
||||
case cryptonote_connection_context::state_normal:
|
||||
return "state_normal";
|
||||
return "normal";
|
||||
default:
|
||||
return "unknown";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue