diff options
author | alpaylan | 2021-04-14 02:14:09 +0300 |
---|---|---|
committer | alpaylan | 2021-04-14 02:14:09 +0300 |
commit | 2a843e8a6adae3df4214e6393facd6ec64bcd8f7 (patch) | |
tree | e265f95c4566ae03e2e84fa60a6a4cf4e296bbf8 /src | |
parent | 75cf1be9e4b70fd9300e373ab56469d69e340170 (diff) | |
download | gradecoin-2a843e8a6adae3df4214e6393facd6ec64bcd8f7.tar.gz gradecoin-2a843e8a6adae3df4214e6393facd6ec64bcd8f7.tar.bz2 gradecoin-2a843e8a6adae3df4214e6393facd6ec64bcd8f7.zip |
finished 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 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>, |