diff --git a/pkg/storageincentives/redistribution/redistribution_test.go b/pkg/storageincentives/redistribution/redistribution_test.go index 1d94f0a1609..943d3013ba4 100644 --- a/pkg/storageincentives/redistribution/redistribution_test.go +++ b/pkg/storageincentives/redistribution/redistribution_test.go @@ -28,7 +28,6 @@ import ( var redistributionContractABI = abiutil.MustParseABI(chaincfg.Testnet.RedistributionABI) -// TODO uncomment when ABI is updated func randChunkInclusionProof(t *testing.T) redistribution.ChunkInclusionProof { t.Helper() diff --git a/pkg/storer/sample.go b/pkg/storer/sample.go index f48efad246c..7a37fb62e99 100644 --- a/pkg/storer/sample.go +++ b/pkg/storer/sample.go @@ -17,7 +17,6 @@ import ( "time" "github.com/ethersphere/bee/pkg/bmt" - "github.com/ethersphere/bee/pkg/cac" "github.com/ethersphere/bee/pkg/postage" "github.com/ethersphere/bee/pkg/soc" chunk "github.com/ethersphere/bee/pkg/storage/testing" @@ -293,10 +292,6 @@ func (db *DB) ReserveSample( // ensuring to pass the check order function of redistribution contract if index := contains(item.TransformedAddress); index != -1 { - // TODO change back to SOC - if cac.Valid(ch) { - continue - } // replace the chunk at index sampleItems[index] = item continue