From 1bea53efff32ba3e80435e5bb2317b07779b9728 Mon Sep 17 00:00:00 2001 From: Chris Schinnerl Date: Wed, 17 Apr 2024 13:51:38 +0200 Subject: [PATCH] contractor: address comments --- autopilot/contractor/contractor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autopilot/contractor/contractor.go b/autopilot/contractor/contractor.go index 627ac92d1..a2a8e81e1 100644 --- a/autopilot/contractor/contractor.go +++ b/autopilot/contractor/contractor.go @@ -282,7 +282,7 @@ func (c *Contractor) performContractMaintenance(ctx *mCtx, w Worker) (bool, erro usedHosts[contract.HostKey] = struct{}{} } - // compile map of stored data per host + // compile map of stored data per contract contractData := make(map[types.FileContractID]uint64) for _, c := range contracts { contractData[c.ID] = c.FileSize()