mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 14:00:31 +08:00
node: Fix onion address type
Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
@@ -82,7 +82,7 @@ impl TryFrom<u8> for AddressType {
|
||||
1 => Ok(AddressType::Ipv4),
|
||||
2 => Ok(AddressType::Ipv6),
|
||||
3 => Ok(AddressType::Hostname),
|
||||
4 => Ok(AddressType::Hostname),
|
||||
4 => Ok(AddressType::Onion),
|
||||
_ => Err(other),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user