status: use Status::Unknown for epee_default_value

This commit is contained in:
hinto.janai 2024-06-26 14:57:01 -04:00
parent d740c0f2f2
commit 234521258f
No known key found for this signature in database
GPG key ID: D47CE05FA175A499

View file

@ -145,8 +145,8 @@ impl EpeeValue for Status {
}
fn epee_default_value() -> Option<Self> {
// TODO: what is the default here?
Some(Self::default())
// <https://github.com/Cuprate/cuprate/pull/147#discussion_r1654992559>
Some(Self::Unknown)
}
fn write<B: BufMut>(self, w: &mut B) -> cuprate_epee_encoding::Result<()> {