Skip to content

Commit

Permalink
GH-1072 Remove unneeded check
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed May 22, 2023
1 parent a6b5259 commit 7470c68
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 @@ -4075,7 +4075,7 @@ namespace eosio {
cptr = connections.begin();
} else {
// was found - advance the start to the next. cend is the old source.
if( ++cptr == connections.end() && cend != connections.end() ) {
if( ++cptr == connections.end() ) {
cptr = connections.begin();
}
}
Expand Down

0 comments on commit 7470c68

Please sign in to comment.