mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-07-02 11:11:36 +00:00
core/src: Take ref of key in SignedEnvelope & PeerRecord (#2516)
This commit is contained in:
@ -234,7 +234,7 @@ impl NetworkBehaviour for Behaviour {
|
||||
));
|
||||
}
|
||||
|
||||
let action = match PeerRecord::new(self.keypair.clone(), external_addresses) {
|
||||
let action = match PeerRecord::new(&self.keypair, external_addresses) {
|
||||
Ok(peer_record) => NetworkBehaviourAction::NotifyHandler {
|
||||
peer_id: rendezvous_node,
|
||||
event: handler::OutboundInEvent::NewSubstream {
|
||||
|
Reference in New Issue
Block a user