@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user