From e6058c3fd36f7c3a74458ff27f887d0ae273f0a2 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Fri, 18 Nov 2016 21:15:44 +0900 Subject: [PATCH] hex_hash is already hex --- server/block_processor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/block_processor.py b/server/block_processor.py index c8f679e..8285be7 100644 --- a/server/block_processor.py +++ b/server/block_processor.py @@ -133,8 +133,7 @@ class Prefetcher(LoggedClass): hex_hashes = await self.daemon.block_hex_hashes(first, count) if caught_up: self.logger.info('new block height {:,d} hash {}' - .format(first + count - 1, - hash_to_str(hex_hashes[-1]))) + .format(first + count - 1, hex_hashes[-1])) blocks = await self.daemon.raw_blocks(hex_hashes)