mirror of
https://github.com/ipfs/kubo.git
synced 2025-09-10 09:52:20 +08:00
reduce dht bandwidth consumption
Signed-off-by: Jeromy <jeromyj@gmail.com>
This commit is contained in:
@ -226,5 +226,5 @@ func (dht *IpfsDHT) handleAddProvider(ctx context.Context, p peer.ID, pmes *pb.M
|
||||
dht.providers.AddProvider(ctx, key, p)
|
||||
}
|
||||
|
||||
return pmes, nil // send back same msg as confirmation.
|
||||
return nil, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user