diff options
Diffstat (limited to 'src/block.rs')
-rw-r--r-- | src/block.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/block.rs b/src/block.rs index 1a61d72..d7a3f8a 100644 --- a/src/block.rs +++ b/src/block.rs | |||
@@ -44,6 +44,7 @@ impl Default for Block { | |||
44 | 44 | ||
45 | /// For prototyping and letting serde handle everything json | 45 | /// For prototyping and letting serde handle everything json |
46 | #[derive(Serialize, Deserialize, Debug, PartialEq)] | 46 | #[derive(Serialize, Deserialize, Debug, PartialEq)] |
47 | #[allow(clippy::module_name_repetitions)] | ||
47 | pub struct NakedBlock { | 48 | pub struct NakedBlock { |
48 | #[serde(skip_serializing_if = "Vec::is_empty", default)] | 49 | #[serde(skip_serializing_if = "Vec::is_empty", default)] |
49 | pub transaction_list: Vec<Fingerprint>, | 50 | pub transaction_list: Vec<Fingerprint>, |