aboutsummaryrefslogtreecommitdiffstats
path: root/src/block.rs
diff options
context:
space:
mode:
authorYigit Sever2022-04-23 21:31:30 +0300
committerYigit Sever2022-04-23 21:32:51 +0300
commit9b6c529de0136fc6648c02031e0e4b7c4dd14387 (patch)
tree76fa3532f20dd94d9b323f561331d03ec6fdd709 /src/block.rs
parent1dfcd85f846f8ed3e193d25b0f302505ccef185d (diff)
downloadgradecoin-9b6c529de0136fc6648c02031e0e4b7c4dd14387.tar.gz
gradecoin-9b6c529de0136fc6648c02031e0e4b7c4dd14387.tar.bz2
gradecoin-9b6c529de0136fc6648c02031e0e4b7c4dd14387.zip
Add temporary clippy allows
Diffstat (limited to 'src/block.rs')
-rw-r--r--src/block.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/block.rs b/src/block.rs
index 1a61d72..d7a3f8a 100644
--- a/src/block.rs
+++ b/src/block.rs
@@ -44,6 +44,7 @@ impl Default for Block {
44 44
45/// For prototyping and letting serde handle everything json 45/// For prototyping and letting serde handle everything json
46#[derive(Serialize, Deserialize, Debug, PartialEq)] 46#[derive(Serialize, Deserialize, Debug, PartialEq)]
47#[allow(clippy::module_name_repetitions)]
47pub struct NakedBlock { 48pub struct NakedBlock {
48 #[serde(skip_serializing_if = "Vec::is_empty", default)] 49 #[serde(skip_serializing_if = "Vec::is_empty", default)]
49 pub transaction_list: Vec<Fingerprint>, 50 pub transaction_list: Vec<Fingerprint>,