Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Commit

Permalink
fix: log error for unexpected reverse index mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkmc committed Jun 10, 2020
1 parent 85f0e9f commit 654e5b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/peermanager/peerwantmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ func (pwm *peerWantManager) wantPeerCounts(c cid.Cid) wantPeerCnts {
for p := range pwm.wantPeers[c] {
pws, ok := pwm.peerWants[p]
if !ok {
log.Errorf("reverse index has extra peer %s for key %s in peerWantManager", string(p), c)
continue
}

Expand Down

0 comments on commit 654e5b4

Please sign in to comment.