aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralpaylan2021-04-14 02:21:06 +0300
committeralpaylan2021-04-14 02:21:06 +0300
commit2a6db865a4c7408f0bb56477aaa63cef4ecd60a4 (patch)
treeda103af9e9b6b9a5766e7b4bf0f74b785f65abf8 /src
parentaa0ad3f0810b015953f31f19155343295b0ca0d3 (diff)
downloadgradecoin-2a6db865a4c7408f0bb56477aaa63cef4ecd60a4.tar.gz
gradecoin-2a6db865a4c7408f0bb56477aaa63cef4ecd60a4.tar.bz2
gradecoin-2a6db865a4c7408f0bb56477aaa63cef4ecd60a4.zip
finished naked 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 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)]
104pub struct NakedBlock { 104pub 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>,