We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents af03289 + 12ffbcb commit 541d859Copy full SHA for 541d859
node/src/bootstrap_client/handshake.rs
@@ -200,7 +200,7 @@ impl<N: Network> BootstrapClient<N> {
200
*listener_addr = Some(SocketAddr::new(peer_addr.ip(), peer_port));
201
202
// Introduce the peer into the peer pool.
203
- self.add_connecting_peer(peer_addr)?;
+ self.add_connecting_peer(listener_addr.unwrap())?;
204
205
// Verify the challenge request.
206
if !self.verify_challenge_request(peer_addr, &mut framed, &peer_request).await? {
0 commit comments