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