From 786fe647231274b080bf740a1d98435237a3455a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Mon, 27 Jul 2020 13:23:55 +0200 Subject: [PATCH] gofmt --- api/test/window_post.go | 2 +- node/node_test.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/api/test/window_post.go b/api/test/window_post.go index 074ba2fbb..b03fe36cc 100644 --- a/api/test/window_post.go +++ b/api/test/window_post.go @@ -233,7 +233,7 @@ func TestWindowPost(t *testing.T, b APIBuilder, blocktime time.Duration, nSector require.Equal(t, p.MinerPower, p.TotalPower) sectors := p.MinerPower.RawBytePower.Uint64() / uint64(ssz) - require.Equal(t, nSectors+GenesisPreseals - 3, int(sectors)) // -3 just removed sectors + require.Equal(t, nSectors+GenesisPreseals-3, int(sectors)) // -3 just removed sectors mine = false <-done diff --git a/node/node_test.go b/node/node_test.go index fcef0c444..6e2437437 100644 --- a/node/node_test.go +++ b/node/node_test.go @@ -380,7 +380,6 @@ func mockSbBuilder(t *testing.T, nFull int, storage []test.StorageMiner) ([]test } } - for i, def := range storage { // TODO: support non-bootstrap miners