Update zebra-network/src/peer/handshake.rs

Co-authored-by: teor <teor@riseup.net>
This commit is contained in:
Deirdre Connolly 2021-05-17 23:38:37 -04:00 committed by teor
parent 92828bbb29
commit bf72d6dbc0
1 changed files with 2 additions and 0 deletions

View File

@ -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()
}
}