Skip to content

Commit

Permalink
style: remove some commented out code
Browse files Browse the repository at this point in the history
Commented out just clutters everything, we have the git history if needed.
  • Loading branch information
Jorropo committed Aug 21, 2023
1 parent c5a805e commit 2668886
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions bitswap/server/internal/decision/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ func newTestEngineWithSampling(ctx context.Context, idStr string, peerSampleInte
e := newEngineForTesting(ctx, bs, fpt, "localhost", 0, append(opts[:len(opts):len(opts)], WithScoreLedger(NewTestScoreLedger(peerSampleInterval, sampleCh, clock)), WithBlockstoreWorkerCount(4))...)
e.StartWorkers(ctx, process.WithTeardown(func() error { return nil }))
return engineSet{
Peer: peer.ID(idStr),
// Strategy: New(true),
Peer: peer.ID(idStr),
PeerTagger: fpt,
Blockstore: bs,
Engine: e,
Expand Down
2 changes: 0 additions & 2 deletions ipld/unixfs/hamt/hamt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ func TestDirBuilding(t *testing.T) {
t.Fatal(err)
}

// printDag(ds, nd, 0)

k := nd.Cid()

if k.String() != "QmY89TkSEVHykWMHDmyejSWFj9CYNtvzw4UwnT9xbc4Zjc" {
Expand Down

0 comments on commit 2668886

Please sign in to comment.