Fix typo (contributed by gabriel-samfira)

This commit is contained in:
Neil Booth 2018-06-17 12:45:28 +01:00
parent b21987fb4c
commit 4ae6af6959

View File

@ -227,7 +227,7 @@ class DB(object):
headers_concat, headers_count = self.read_headers(height, count) headers_concat, headers_count = self.read_headers(height, count)
if headers_count != count: if headers_count != count:
raise self.DBError('only got {:,d} headers starting at {:,d}, not ' raise self.DBError('only got {:,d} headers starting at {:,d}, not '
'{:,d}'.format(headers_count, start, count)) '{:,d}'.format(headers_count, height, count))
offset = 0 offset = 0
headers = [] headers = []
for n in range(count): for n in range(count):