From 31f7f0acb36c81d7947269a22180c59ec598cbed Mon Sep 17 00:00:00 2001 From: clemahieu Date: Fri, 22 Mar 2024 18:52:43 +0000 Subject: [PATCH] Fix missing vote_code enumeration for websockets. (#4516) --- nano/node/websocket.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nano/node/websocket.cpp b/nano/node/websocket.cpp index 1cebbf7508..464c170cda 100644 --- a/nano/node/websocket.cpp +++ b/nano/node/websocket.cpp @@ -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;