From 234521258f0d3f1a8e684e9cd9ed4ff98e751cb7 Mon Sep 17 00:00:00 2001 From: "hinto.janai" Date: Wed, 26 Jun 2024 14:57:01 -0400 Subject: [PATCH] status: use `Status::Unknown` for `epee_default_value` --- rpc/types/src/status.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc/types/src/status.rs b/rpc/types/src/status.rs index 8481c37..e8ac6ce 100644 --- a/rpc/types/src/status.rs +++ b/rpc/types/src/status.rs @@ -145,8 +145,8 @@ impl EpeeValue for Status { } fn epee_default_value() -> Option { - // TODO: what is the default here? - Some(Self::default()) + // + Some(Self::Unknown) } fn write(self, w: &mut B) -> cuprate_epee_encoding::Result<()> {