do not claim hash is invalid when there was no hash
This commit is contained in:
		
							parent
							
								
									0ca84c9759
								
							
						
					
					
						commit
						da80723686
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -111,6 +111,7 @@ class OnionrCommunicate: | |||
|             logger.debug('Exchanged block (blockList): ' + i) | ||||
|             if not self._utils.validateHash(i): | ||||
|                 # skip hash if it isn't valid | ||||
|                 if len(i.strip()) != 0 | ||||
|                     logger.warn('Hash ' + i + ' is not valid') | ||||
|                 continue | ||||
|             else: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue