Skip to content
Permalink
Browse files

Remove prefix in state names in connection_context

  • Loading branch information...
miltonf committed Mar 23, 2019
1 parent 0a78f50 commit 803b00b826bb707df007b33248cd666bbdd5172d
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/cryptonote_basic/connection_context.h
@@ -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";
}

0 comments on commit 803b00b

Please sign in to comment.
You can’t perform that action at this time.