From 55799828fcbae9470486e7e07301802663551ce9 Mon Sep 17 00:00:00 2001 From: Greg Martin Date: Tue, 8 Aug 2023 00:50:29 +0000 Subject: [PATCH] Remove unnecessary 'default' --- src/subcommand/find.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/subcommand/find.rs b/src/subcommand/find.rs index 814928464a..62d1926e9e 100644 --- a/src/subcommand/find.rs +++ b/src/subcommand/find.rs @@ -44,17 +44,17 @@ pub struct Output { pub start: u64, pub size: u64, pub satpoint: SatPoint, - #[serde(default, skip_serializing_if = "Option::is_none")] + #[serde(skip_serializing_if = "Option::is_none")] pub address: Option>, - #[serde(default, skip_serializing_if = "Option::is_none")] + #[serde(skip_serializing_if = "Option::is_none")] pub blockhash: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] + #[serde(skip_serializing_if = "Option::is_none")] pub date: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] + #[serde(skip_serializing_if = "Option::is_none")] pub name: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] + #[serde(skip_serializing_if = "Option::is_none")] pub timestamp: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] + #[serde(skip_serializing_if = "Option::is_none")] pub value: Option, }