fix time skew message formatting
This commit is contained in:
		
							parent
							
								
									158510e9fb
								
							
						
					
					
						commit
						fb975dc52c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -60,7 +60,7 @@ def validate_metadata(metadata, block_data) -> bool: | |||
|                     break | ||||
|                 isFuture = (metadata[i] - epoch.get_epoch()) | ||||
|                 if isFuture > max_clock_difference: | ||||
|                     logger.warn('Block timestamp is skewed to the future over the max %s: %s' (max_clock_difference, isFuture)) | ||||
|                     logger.warn('Block timestamp is skewed to the future over the max %s: %s', (max_clock_difference, isFuture)) | ||||
|                     break | ||||
|                 if (epoch.get_epoch() - metadata[i]) > maxAge: | ||||
|                     logger.warn('Block is outdated: %s' % (metadata[i],)) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue