From 732c9aeffccde2875419bea1121979a9c8381624 Mon Sep 17 00:00:00 2001 From: LEE Dongjun Date: Sat, 4 Aug 2018 15:36:32 +0900 Subject: [PATCH] Disable stratum when internal sealing is used --- codechain/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())? }