Skip to content

Commit 0d5a408

Browse files
committed
Removed unused variables
1 parent 41998fc commit 0d5a408

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

crates/node/src/kitchensink.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ static NODE_COUNT: AtomicU32 = AtomicU32::new(0);
2626
#[derive(Debug)]
2727
pub struct KitchensinkNode {
2828
id: u32,
29-
base_directory: PathBuf,
3029
substrate_binary: PathBuf,
3130
eth_proxy_binary: PathBuf,
3231
rpc_url: String,
@@ -36,7 +35,6 @@ pub struct KitchensinkNode {
3635
}
3736

3837
impl KitchensinkNode {
39-
const BASE_DIRECTORY: &str = "kitchensink";
4038
const SUBSTRATE_READY_MARKER: &str = "Running JSON-RPC server";
4139
const ETH_PROXY_READY_MARKER: &str = "Running JSON-RPC server";
4240
const BASE_SUBSTRATE_RPC_PORT: u16 = 9944;
@@ -178,14 +176,9 @@ impl EthereumNode for KitchensinkNode {
178176
impl Node for KitchensinkNode {
179177
fn new(config: &Arguments) -> Self {
180178
let id = NODE_COUNT.fetch_add(1, Ordering::SeqCst);
181-
let base_directory = config
182-
.directory()
183-
.join(Self::BASE_DIRECTORY)
184-
.join(id.to_string());
185179

186180
Self {
187181
id,
188-
base_directory,
189182
substrate_binary: config.kitchensink.clone(),
190183
eth_proxy_binary: config.eth_proxy.clone(),
191184
rpc_url: String::new(),

0 commit comments

Comments
 (0)