diff options
author | alpaylan | 2021-04-14 02:14:09 +0300 |
---|---|---|
committer | alpaylan | 2021-04-14 02:14:09 +0300 |
commit | aa0ad3f0810b015953f31f19155343295b0ca0d3 (patch) | |
tree | 92cec814a852688a5b8d21692d704e9b3b388b25 /src/schema.rs | |
parent | 0eda923b0865d4bee57ac54062d2e0140f966eb1 (diff) | |
download | gradecoin-aa0ad3f0810b015953f31f19155343295b0ca0d3.tar.gz gradecoin-aa0ad3f0810b015953f31f19155343295b0ca0d3.tar.bz2 gradecoin-aa0ad3f0810b015953f31f19155343295b0ca0d3.zip |
finished block testing
Diffstat (limited to 'src/schema.rs')
-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 4d2b442..b67bce4 100644 --- a/src/schema.rs +++ b/src/schema.rs | |||
@@ -90,7 +90,7 @@ pub struct Transaction { | |||
90 | /// https://serde.rs/container-attrs.html might be valuable to normalize the serialize/deserialize | 90 | /// https://serde.rs/container-attrs.html might be valuable to normalize the serialize/deserialize |
91 | /// conventions as these will be hashed | 91 | /// conventions as these will be hashed |
92 | /// | 92 | /// |
93 | #[derive(Serialize, Deserialize, Debug)] | 93 | #[derive(Serialize, Deserialize, Debug, PartialEq)] |
94 | pub struct Block { | 94 | pub struct Block { |
95 | #[serde(skip_serializing_if = "Vec::is_empty")] | 95 | #[serde(skip_serializing_if = "Vec::is_empty")] |
96 | pub transaction_list: Vec<PublicKeySignature>, | 96 | pub transaction_list: Vec<PublicKeySignature>, |