Skip to content

Commit

Permalink
GH-612 Missed the no break.
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Sep 19, 2024
1 parent 55994b0 commit 246ccfb
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions plugins/net_plugin/net_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3688,11 +3688,15 @@ namespace eosio {
if( msg.req_blocks.mode == none ) {
peer_syncing_from_us = false;
}
// no break
if( !msg.req_trx.ids.empty() ) {
peer_wlog( this, "Invalid request_message, req_trx.mode=none, req_trx.ids.size ${s}", ("s", msg.req_trx.ids.size()) );
close();
}
break;
case normal :
peer_wlog( this, "Invalid request_message, req_trx.mode = normal" );
peer_wlog( this, "Invalid request_message, req_trx.mode=normal" );
close();
return;
break;
default:;
}
}
Expand Down

0 comments on commit 246ccfb

Please sign in to comment.