mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-20 21:36:31 +00:00
protocols/kad: Require owned key in get_record (#2477)
Co-authored-by: Max Inden <mail@max-inden.de>
This commit is contained in:
@ -187,7 +187,7 @@ fn handle_input_line(kademlia: &mut Kademlia<MemoryStore>, line: String) {
|
||||
}
|
||||
}
|
||||
};
|
||||
kademlia.get_record(&key, Quorum::One);
|
||||
kademlia.get_record(key, Quorum::One);
|
||||
}
|
||||
Some("GET_PROVIDERS") => {
|
||||
let key = {
|
||||
|
Reference in New Issue
Block a user