Skip to content

Commit

Permalink
Remove debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dennis-tra committed Sep 28, 2023
1 parent 8fa18bd commit a4f0950
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion v2/routing.go
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ func (d *DHT) searchValueRoutine(ctx context.Context, backend Backend, ns string
Key: routingKey,
}

// The currently known best value for keyStr
// The currently known best value for /$ns/$path
var best []byte

// Peers that we identified to hold stale records
Expand Down
6 changes: 0 additions & 6 deletions v2/routing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -508,12 +508,6 @@ func TestDHT_GetValue_happy_path(t *testing.T) {
d4 := top.AddServer(cfg)
d5 := top.AddServer(cfg)

fmt.Println(d1.host.ID().ShortString(), "Host 1")
fmt.Println(d2.host.ID().ShortString(), "Host 2")
fmt.Println(d3.host.ID().ShortString(), "Host 3")
fmt.Println(d4.host.ID().ShortString(), "Host 4")
fmt.Println(d5.host.ID().ShortString(), "Host 5")

top.ConnectChain(ctx, d1, d2, d3, d4, d5)

err = d3.putValueLocal(ctx, key, validValue)
Expand Down

0 comments on commit a4f0950

Please sign in to comment.