Skip to content

Commit 564c651

Browse files
kakao-jun-ekseo
authored andcommitted
Disable stratum when internal sealing is used
1 parent cdb87f0 commit 564c651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codechain/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ fn run_node(matches: ArgMatches) -> Result<(), String> {
374374
}
375375
};
376376

377-
if !config.stratum.disable {
377+
if (!config.stratum.disable) && (miner.engine_type() == EngineType::PoW) {
378378
let stratum_config = (&config.stratum).into();
379379
stratum_start(&stratum_config, Arc::clone(&miner), client.client())?
380380
}

0 commit comments

Comments
 (0)