Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Oct 9, 2024
1 parent de501db commit ba4d011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/net_plugin/net_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4024,7 +4024,7 @@ namespace eosio {
case vote_result_t::unknown_public_key:
case vote_result_t::invalid_signature:
case vote_result_t::max_exceeded: // close peer immediately
fc_elog(vote_logger, "Exceeded max votes per connection for ${c}", ("c", connection_id));
fc_elog(vote_logger, "Invalid vote(s), closing connection - ${c}", ("c", connection_id));
my_impl->connections.any_of_connections([connection_id](const connection_ptr& c) {
if (c->connection_id == connection_id) {
c->close( false );
Expand Down

0 comments on commit ba4d011

Please sign in to comment.