diff --git a/codechain/main.rs b/codechain/main.rs index 994d22d236..f3fc26d88f 100644 --- a/codechain/main.rs +++ b/codechain/main.rs @@ -374,7 +374,7 @@ fn run_node(matches: ArgMatches) -> Result<(), String> { } }; - if !config.stratum.disable { + if (!config.stratum.disable) && (miner.engine_type() == EngineType::PoW) { let stratum_config = (&config.stratum).into(); stratum_start(&stratum_config, Arc::clone(&miner), client.client())? }