Skip to content

Commit

Permalink
Update dot/peerset/peerstate.go
Browse files Browse the repository at this point in the history
Co-authored-by: Eclésio Junior <eclesiomelo.1@gmail.com>
  • Loading branch information
kishansagathiya and EclesioMeloJunior committed Dec 1, 2021
1 parent b001f27 commit 33d3c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dot/peerset/peerstate.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func (ps *PeersState) removeNoSlotNode(idx int, peerID peer.ID) error {
delete(ps.sets[idx].noSlotNodes, peerID)
n, err := ps.getNode(peerID)
if err != nil {
return fmt.Errorf("could not get node: %w", err)
return fmt.Errorf("could not get node for peer id %s: %w", peerID, err)
}

switch n.state[idx] {
Expand Down

0 comments on commit 33d3c64

Please sign in to comment.