From 78c0484090068f2e39823788910c6311e28ec2e2 Mon Sep 17 00:00:00 2001 From: Haiko Schol Date: Mon, 4 Nov 2024 11:54:35 +0700 Subject: [PATCH] ensure ID is included in syncTask.String() --- dot/sync/fullsync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot/sync/fullsync.go b/dot/sync/fullsync.go index 317c649cf9..caa7646ba3 100644 --- a/dot/sync/fullsync.go +++ b/dot/sync/fullsync.go @@ -65,7 +65,7 @@ func (s *syncTask) ID() TaskID { } func (s *syncTask) String() string { - return fmt.Sprintf("%s %s", s.id, s.request.String()) + return fmt.Sprintf("%s %s", s.ID(), s.request.String()) } func (s *syncTask) Do(p peer.ID) (Result, error) {