From f276de1719d6b5184f83fd0fd56ebd2eec807735 Mon Sep 17 00:00:00 2001 From: Ignotus Peverell Date: Mon, 5 Nov 2018 01:50:33 +0000 Subject: [PATCH] Revert #1643, fixes #1654, header head not updating on low diff --- servers/src/mining/stratumserver.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/src/mining/stratumserver.rs b/servers/src/mining/stratumserver.rs index 34ceeea0b..573f89804 100644 --- a/servers/src/mining/stratumserver.rs +++ b/servers/src/mining/stratumserver.rs @@ -491,7 +491,7 @@ impl StratumServer { return Err(serde_json::to_value(e).unwrap()); } // If the difficulty is high enough, submit it (which also validates it) - if share_difficulty >= self.current_difficulty && !self.sync_state.is_syncing() { + if share_difficulty >= self.current_difficulty { // This is a full solution, submit it to the network let res = self.chain.process_block(b.clone(), chain::Options::MINE); if let Err(e) = res {