Skip to content

Commit

Permalink
consensus: remove iteration check from msg deserialize
Browse files Browse the repository at this point in the history
  • Loading branch information
fed-franz committed Dec 20, 2024
1 parent 2c2bf6c commit 90f3bdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consensus/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ use std::env;
use std::sync::LazyLock;
use std::time::Duration;

use node_data::message::{MESSAGE_MAX_FAILED_ITERATIONS, MESSAGE_MAX_ITER};
use node_data::message::MESSAGE_MAX_FAILED_ITERATIONS;

/// Maximum number of iterations Consensus runs per a single round.
pub const CONSENSUS_MAX_ITER: u8 = MESSAGE_MAX_ITER;
pub const CONSENSUS_MAX_ITER: u8 = 50;

/// Total credits of steps committees
pub const PROPOSAL_COMMITTEE_CREDITS: usize = 1;
Expand Down

0 comments on commit 90f3bdf

Please sign in to comment.