Update zebra-network/src/peer/handshake.rs
Co-authored-by: teor <teor@riseup.net>
This commit is contained in:
parent
92828bbb29
commit
bf72d6dbc0
|
@ -249,6 +249,8 @@ impl ConnectedAddr {
|
|||
if &canonical_remote != addr {
|
||||
vec![canonical_remote]
|
||||
} else {
|
||||
// we didn't learn a new address from the handshake:
|
||||
// it's the same as the outbound address, which is already in our address book
|
||||
Vec::new()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue