diff --git a/stacks-node/src/nakamoto_node/relayer.rs b/stacks-node/src/nakamoto_node/relayer.rs index 6b0bdea184e..1c47352b9da 100644 --- a/stacks-node/src/nakamoto_node/relayer.rs +++ b/stacks-node/src/nakamoto_node/relayer.rs @@ -129,9 +129,6 @@ pub struct LastCommit { stacks_tip: StacksBlockId, /// the tenure consensus hash for the tip's tenure tenure_consensus_hash: ConsensusHash, - /// the start-block hash of the tip's tenure - #[allow(dead_code)] - start_block_hash: BlockHeaderHash, /// What is the epoch in which this was sent? epoch_id: StacksEpochId, /// commit txid (to be filled in on submission) @@ -223,7 +220,6 @@ impl LastCommit { burn_tip: BlockSnapshot, stacks_tip: StacksBlockId, tenure_consensus_hash: ConsensusHash, - start_block_hash: BlockHeaderHash, epoch_id: StacksEpochId, ) -> Self { Self { @@ -231,7 +227,6 @@ impl LastCommit { burn_tip, stacks_tip, tenure_consensus_hash, - start_block_hash, epoch_id, txid: None, } @@ -1285,9 +1280,6 @@ impl RelayerThread { sort_tip, stacks_tip, highest_tenure_start_block_header.consensus_hash, - highest_tenure_start_block_header - .anchored_header - .block_hash(), target_epoch.epoch_id, )) } diff --git a/stacks-signer/src/config.rs b/stacks-signer/src/config.rs index 9f7d6da022b..f2ad7555e8a 100644 --- a/stacks-signer/src/config.rs +++ b/stacks-signer/src/config.rs @@ -479,11 +479,6 @@ impl RawConfigFile { toml::from_str(data).map_err(|e| ConfigError::ParseError(format!("{e:?}")))?; Ok(config) } - /// load the config from a file and parse it - #[allow(dead_code)] - pub fn load_from_file(path: &str) -> Result { - Self::try_from(&PathBuf::from(path)) - } } impl TryFrom<&PathBuf> for RawConfigFile {