Skip to content

Commit

Permalink
Fix missing vote_code enumeration for websockets. (#4516)
Browse files Browse the repository at this point in the history
  • Loading branch information
clemahieu authored Mar 22, 2024
1 parent 9514113 commit 31f7f0a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nano/node/websocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,9 @@ nano::websocket::message nano::websocket::message_builder::vote_received (std::s
case nano::vote_code::indeterminate:
vote_type = "indeterminate";
break;
case nano::vote_code::ignored:
vote_type = "ignored";
break;
case nano::vote_code::invalid:
debug_assert (false);
break;
Expand Down

0 comments on commit 31f7f0a

Please sign in to comment.