Skip to content

Commit

Permalink
chore: remove useless follower conf
Browse files Browse the repository at this point in the history
  • Loading branch information
hugocaillard committed Jul 29, 2024
1 parent 07985af commit 13cfdcb
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions components/stacks-network/src/orchestrator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1435,7 +1435,7 @@ start_height = {epoch_3_0}
&self,
boot_index: u32,
) -> Result<Config<String>, String> {
let (network_config, devnet_config) = match &self.network_config {
let (_, devnet_config) = match &self.network_config {
Some(ref network_config) => match network_config.devnet {
Some(ref devnet_config) => (network_config, devnet_config),
_ => return Err("unable to get devnet configuration".into()),
Expand Down Expand Up @@ -1477,17 +1477,6 @@ bootstrap_node = "{boostrap_node_public_key}@host.docker.internal:{stacks_node_p
stacks_node_p2p_port = devnet_config.stacks_node_p2p_port,
);

for (_, account) in network_config.accounts.iter() {
stacks_follower_conf.push_str(&format!(
r#"
[[ustx_balance]]
address = "{}"
amount = {}
"#,
account.stx_address, account.balance
));
}

stacks_follower_conf.push_str(&format!(
r#"
[burnchain]
Expand Down

0 comments on commit 13cfdcb

Please sign in to comment.