fix: remove a stray clone
Signed-off-by: ljedrz <ljedrz@gmail.com>
This commit is contained in:
parent
e98e86b188
commit
443bfad372
@ -434,7 +434,7 @@ impl<Types: IpfsTypes> Behaviour<Types> {
|
||||
// Ipfs and IpfsFuture objects - it would currently require some extra back-and-forth
|
||||
pub fn provide_block(&mut self, cid: Cid) {
|
||||
let key = cid.to_bytes();
|
||||
match self.kademlia.start_providing(key.clone().into()) {
|
||||
match self.kademlia.start_providing(key.into()) {
|
||||
Ok(_id) => {
|
||||
// Ok(self.kad_subscriptions.create_subscription(id.into(), None))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user