Skip to content

Commit

Permalink
fix copy-paste errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ordian committed Jan 3, 2024
1 parent 1354fa0 commit bffffec
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions polkadot/node/malus/src/variants/support_disabled.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.

//! This variant of Malus backs/approves all malicious candidates crafted by
//! `suggest-garbage-candidate` variant and behaves honestly with other
//! candidates.
//! This variant of Malus overrides the `disabled_validators` runtime API
//! to always return an empty set of disabled validators.

use polkadot_cli::{
prepared_overseer_builder,
Expand Down Expand Up @@ -78,7 +77,7 @@ where
{
type Message = RuntimeApiMessage;

/// Intercept incoming runtime api requests requests.
/// Intercept incoming runtime api requests.
fn intercept_incoming(
&self,
_subsystem_sender: &mut Sender,
Expand Down

0 comments on commit bffffec

Please sign in to comment.