Skip to content

Commit

Permalink
fixes compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
thep2p committed Oct 18, 2024
1 parent 6a9806b commit 35c385b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gossipsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -2134,8 +2134,8 @@ func (gs *GossipSubRouter) WithDefaultTagTracer() Option {
//
// nothing.
func (gs *GossipSubRouter) SendControl(p peer.ID, ctl *pb.ControlMessage, msgs ...*pb.Message) {
out := rpcWithControl(msgs, ctl.Ihave, ctl.Iwant, ctl.Graft, ctl.Prune)
gs.sendRPC(p, out)
out := rpcWithControl(msgs, ctl.Ihave, ctl.Iwant, ctl.Graft, ctl.Prune, ctl.Idontwant)
gs.sendRPC(p, out, false)
}

func peerListToMap(peers []peer.ID) map[peer.ID]struct{} {
Expand Down

0 comments on commit 35c385b

Please sign in to comment.