aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralpaylan2021-04-14 02:14:09 +0300
committeralpaylan2021-04-14 02:14:09 +0300
commitaa0ad3f0810b015953f31f19155343295b0ca0d3 (patch)
tree92cec814a852688a5b8d21692d704e9b3b388b25 /src
parent0eda923b0865d4bee57ac54062d2e0140f966eb1 (diff)
downloadgradecoin-aa0ad3f0810b015953f31f19155343295b0ca0d3.tar.gz
gradecoin-aa0ad3f0810b015953f31f19155343295b0ca0d3.tar.bz2
gradecoin-aa0ad3f0810b015953f31f19155343295b0ca0d3.zip
finished block testing
Diffstat (limited to 'src')
-rw-r--r--src/schema.rs2
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)]
94pub struct Block { 94pub 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>,