hex_hash is already hex
This commit is contained in:
parent
25782d02d9
commit
e6058c3fd3
@ -133,8 +133,7 @@ class Prefetcher(LoggedClass):
|
|||||||
hex_hashes = await self.daemon.block_hex_hashes(first, count)
|
hex_hashes = await self.daemon.block_hex_hashes(first, count)
|
||||||
if caught_up:
|
if caught_up:
|
||||||
self.logger.info('new block height {:,d} hash {}'
|
self.logger.info('new block height {:,d} hash {}'
|
||||||
.format(first + count - 1,
|
.format(first + count - 1, hex_hashes[-1]))
|
||||||
hash_to_str(hex_hashes[-1])))
|
|
||||||
|
|
||||||
blocks = await self.daemon.raw_blocks(hex_hashes)
|
blocks = await self.daemon.raw_blocks(hex_hashes)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user