Missing return statement in error_process_messages

This commit is contained in:
cryptocode 2018-09-06 02:16:00 +02:00 committed by Lee Bousfield
commit 78182b6314

View file

@ -164,7 +164,7 @@ std::string nano::error_process_messages::message (int ev) const
case nano::error_process::block_position:
return "This block cannot follow the previous block";
case nano::error_process::other:
"Error processing block";
return "Error processing block";
}
return "Invalid error code";