diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/schema.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/schema.rs b/src/schema.rs index b67bce4..5546d12 100644 --- a/src/schema.rs +++ b/src/schema.rs | |||
@@ -100,7 +100,7 @@ pub struct Block { | |||
100 | } | 100 | } |
101 | 101 | ||
102 | /// For prototyping and letting serde handle everything json | 102 | /// For prototyping and letting serde handle everything json |
103 | #[derive(Serialize, Deserialize, Debug)] | 103 | #[derive(Serialize, Deserialize, Debug, PartialEq)] |
104 | pub struct NakedBlock { | 104 | pub struct NakedBlock { |
105 | #[serde(skip_serializing_if = "Vec::is_empty", default)] | 105 | #[serde(skip_serializing_if = "Vec::is_empty", default)] |
106 | pub transaction_list: Vec<PublicKeySignature>, | 106 | pub transaction_list: Vec<PublicKeySignature>, |