Fix missing vote_code enumeration for websockets. (#4516)

This commit is contained in:
clemahieu 2024-03-22 18:52:43 +00:00 committed by GitHub
commit 31f7f0acb3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -841,6 +841,9 @@ nano::websocket::message nano::websocket::message_builder::vote_received (std::s
case nano::vote_code::indeterminate: case nano::vote_code::indeterminate:
vote_type = "indeterminate"; vote_type = "indeterminate";
break; break;
case nano::vote_code::ignored:
vote_type = "ignored";
break;
case nano::vote_code::invalid: case nano::vote_code::invalid:
debug_assert (false); debug_assert (false);
break; break;