Skip to content

Commit

Permalink
added the mutants from PR stacks-network#4560
Browse files Browse the repository at this point in the history
  • Loading branch information
ASuciuX committed Mar 28, 2024
1 parent d03c2ce commit 122b22a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions stackslib/src/burnchains/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,9 @@ impl<'a> BurnchainDBTransaction<'a> {

/// You'd only do this in network emergencies, where node operators are expected to declare an
/// anchor block missing (or present). Ideally there'd be a smart contract somewhere for this.
/// TODO: #4587 add tests for `Ok(())` returning case
/// Or keep the skip and remove the comment
#[cfg_attr(test,mutants::skip)]
pub fn set_override_affirmation_map(
&self,
reward_cycle: u64,
Expand Down
3 changes: 1 addition & 2 deletions testnet/stacks-node/src/neon_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2185,8 +2185,7 @@ impl BlockMinerThread {
debug!("block miner thread ID is {:?}", thread::current().id());
fault_injection_long_tenure();

let burn_db_path = self.config.get_burn_db_file_pa
th();
let burn_db_path = self.config.get_burn_db_file_path();
let stacks_chainstate_path = self.config.get_chainstate_path_str();

let cost_estimator = self
Expand Down

0 comments on commit 122b22a

Please sign in to comment.