fix condition check
This commit is contained in:
		
							parent
							
								
									131aa14afa
								
							
						
					
					
						commit
						daca82bdfc
					
				@ -305,7 +305,7 @@ impl Miner {
 | 
			
		||||
 | 
			
		||||
	fn forced_sealing(&self) -> bool {
 | 
			
		||||
		self.options.force_sealing
 | 
			
		||||
			|| !self.options.new_work_notify.is_empty()
 | 
			
		||||
			|| !self.notifiers.read().is_empty()
 | 
			
		||||
			|| Instant::now() > *self.next_mandatory_reseal.read()
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user