fix log message in header downloader to log local_height as integer instead of float

This commit is contained in:
Lex Berezhny 2018-10-09 17:39:28 -04:00
parent 427fc179ac
commit 5118240897

View file

@ -261,7 +261,7 @@ class HeadersComponent(Component):
defer.returnValue(False)
local_height = self.local_header_file_height()
remote_height = yield self.get_remote_height()
log.info("remote height: %i, local height: %s", remote_height, local_height)
log.info("remote height: %i, local height: %i", remote_height, local_height)
if remote_height > (local_height + s3_headers_depth):
defer.returnValue(True)
defer.returnValue(False)