File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 62
62
OrderedTaskPreparation ,
63
63
TaskQueue ,
64
64
)
65
+ from trinity .utils .humanize import (
66
+ humanize_hash ,
67
+ )
65
68
66
69
67
70
class SkeletonSyncer (BaseService , Generic [TChainPeer ]):
@@ -634,7 +637,7 @@ async def _fetch_segment(
634
637
"%s returned segment starting %s & parent %s, doesn't match %s, ignoring result..." ,
635
638
peer ,
636
639
headers [0 ],
637
- headers [0 ].parent_hash ,
640
+ humanize_hash ( headers [0 ].parent_hash ) ,
638
641
parent_header ,
639
642
)
640
643
return tuple ()
@@ -803,7 +806,7 @@ async def _full_skeleton_sync(self, skeleton_syncer: SkeletonSyncer[TChainPeer])
803
806
804
807
self .logger .debug (
805
808
"Skeleton syncer asserts that parent (%s) of the first header (%s) is already present" ,
806
- first_segment [0 ].parent_hash ,
809
+ humanize_hash ( first_segment [0 ].parent_hash ) ,
807
810
first_segment [0 ],
808
811
)
809
812
first_parent = await self ._db .coro_get_block_header_by_hash (first_segment [0 ].parent_hash )
You can’t perform that action at this time.
0 commit comments