Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
azarovh committed Dec 20, 2024
1 parent 752da7c commit 77e9de8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node-lib/src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use file_rotate::{compression::Compression, suffix::AppendCount, ContentLimit, F
use anyhow::{anyhow, Context, Result};
use blockprod::rpc::BlockProductionRpcServer;
use chainstate_launcher::{ChainConfig, StorageBackendConfig};
use common::chain::config::{regtest_options::regtest_chain_config, Builder as ChainConfigBuilder};
use common::chain::config::regtest_options::regtest_chain_config;

use chainstate::{rpc::ChainstateRpcServer, ChainstateError, InitializationError};
use common::chain::config::{assert_no_ignore_consensus_in_chain_config, ChainType};
Expand Down Expand Up @@ -240,7 +240,7 @@ pub async fn setup(options: Options) -> Result<NodeSetupResult> {
let run_options = command.run_options();
let chain_config = match &command {
Command::Mainnet(_) => common::chain::config::create_mainnet(),
Command::Testnet(_) => ChainConfigBuilder::new(ChainType::Testnet).build(),
Command::Testnet(_) => common::chain::config::create_testnet(),
Command::Regtest(regtest_options) => regtest_chain_config(&regtest_options.chain_config)?,
};

Expand Down

0 comments on commit 77e9de8

Please sign in to comment.