fix time skew message formatting

This commit is contained in:
Kevin Froman 2019-11-30 01:11:46 -06:00
parent 158510e9fb
commit fb975dc52c
1 changed files with 1 additions and 1 deletions

View File

@ -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],))