node: Fix onion address type
Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
parent
a47463a664
commit
b265f1b456
|
|
@ -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),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue