diff options
author | alpaylan | 2021-04-14 02:21:06 +0300 |
---|---|---|
committer | alpaylan | 2021-04-14 02:21:06 +0300 |
commit | 2a6db865a4c7408f0bb56477aaa63cef4ecd60a4 (patch) | |
tree | da103af9e9b6b9a5766e7b4bf0f74b785f65abf8 /src | |
parent | aa0ad3f0810b015953f31f19155343295b0ca0d3 (diff) | |
download | gradecoin-2a6db865a4c7408f0bb56477aaa63cef4ecd60a4.tar.gz gradecoin-2a6db865a4c7408f0bb56477aaa63cef4ecd60a4.tar.bz2 gradecoin-2a6db865a4c7408f0bb56477aaa63cef4ecd60a4.zip |
finished naked block testing.
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>, |