Function breez_sdk_core::lightning::ln::msgs::parse_onion_address
pub fn parse_onion_address(
host: &str,
port: u16,
) -> Result<SocketAddress, SocketAddressParseError>
Expand description
Parses an OnionV3 host and port into a SocketAddress::OnionV3
.
The host part must end with “.onion”.