Skip to content

Commit 35c385b

Browse files
committed
fixes compile errors
1 parent 6a9806b commit 35c385b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gossipsub.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -2134,8 +2134,8 @@ func (gs *GossipSubRouter) WithDefaultTagTracer() Option {
21342134
//
21352135
// nothing.
21362136
func (gs *GossipSubRouter) SendControl(p peer.ID, ctl *pb.ControlMessage, msgs ...*pb.Message) {
2137-
out := rpcWithControl(msgs, ctl.Ihave, ctl.Iwant, ctl.Graft, ctl.Prune)
2138-
gs.sendRPC(p, out)
2137+
out := rpcWithControl(msgs, ctl.Ihave, ctl.Iwant, ctl.Graft, ctl.Prune, ctl.Idontwant)
2138+
gs.sendRPC(p, out, false)
21392139
}
21402140

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

0 commit comments

Comments
 (0)