Skip to content

Commit 6011d63

Browse files
committed
added resolution of OnionV2 and V3 for error message
1 parent 5b55eb9 commit 6011d63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/msgs.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -980,11 +980,11 @@ impl std::net::ToSocketAddrs for SocketAddress {
980980
(hostname.as_str(), *port).to_socket_addrs()
981981
}
982982
SocketAddress::OnionV2(..) => {
983-
Err(std::io::Error::new(std::io::ErrorKind::Other, "Resolution of these \
983+
Err(std::io::Error::new(std::io::ErrorKind::Other, "Resolution of OnionV2 \
984984
addresses is currently unsupported."))
985985
}
986986
SocketAddress::OnionV3 { .. } => {
987-
Err(std::io::Error::new(std::io::ErrorKind::Other, "Resolution of these \
987+
Err(std::io::Error::new(std::io::ErrorKind::Other, "Resolution of OnionV3 \
988988
addresses is currently unsupported."))
989989
}
990990
}

0 commit comments

Comments
 (0)