From 863a6ed38c526561cb8823106dacb97bd91e39d4 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Fri, 2 Oct 2020 17:45:01 -0700 Subject: [PATCH] fix lints --- api/test/window_post.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/test/window_post.go b/api/test/window_post.go index 8f5c4db75..a9a465b74 100644 --- a/api/test/window_post.go +++ b/api/test/window_post.go @@ -121,6 +121,7 @@ func TestWindowPost(t *testing.T, b APIBuilder, blocktime time.Duration, nSector 162, // while sealing 5000, // while proving } { + height := height // copy to satisfy lints t.Run(fmt.Sprintf("upgrade-%d", height), func(t *testing.T) { testWindowPostUpgrade(t, b, blocktime, nSectors, height) })