diff options
author | alpaylan | 2021-04-14 02:21:06 +0300 |
---|---|---|
committer | alpaylan | 2021-04-14 02:21:06 +0300 |
commit | d9d11f67338c324d9b9e77d8869b3789180cad12 (patch) | |
tree | 8fae55a8acb2ee3ff89071453ee25af467fe1210 /src/schema.rs | |
parent | 2a843e8a6adae3df4214e6393facd6ec64bcd8f7 (diff) | |
download | gradecoin-d9d11f67338c324d9b9e77d8869b3789180cad12.tar.gz gradecoin-d9d11f67338c324d9b9e77d8869b3789180cad12.tar.bz2 gradecoin-d9d11f67338c324d9b9e77d8869b3789180cad12.zip |
finished naked 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 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>, |