We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdb87f0 commit 564c651Copy full SHA for 564c651
codechain/main.rs
@@ -374,7 +374,7 @@ fn run_node(matches: ArgMatches) -> Result<(), String> {
374
}
375
};
376
377
- if !config.stratum.disable {
+ if (!config.stratum.disable) && (miner.engine_type() == EngineType::PoW) {
378
let stratum_config = (&config.stratum).into();
379
stratum_start(&stratum_config, Arc::clone(&miner), client.client())?
380
0 commit comments