Эх сурвалжийг харах

blockchain: Clippy lints.

Luther Blissett 3 жил өмнө
parent
commit
7232b70e44

+ 1 - 1
src/blockchain/epoch.rs

@@ -260,7 +260,7 @@ impl Epoch {
     /// retrive leadership lottary coins of static stake,
     /// retrive leadership lottary coins of static stake,
     /// retrived for for commitment in the genesis data
     /// retrived for for commitment in the genesis data
     pub fn get_coins(&self) -> Vec<LeadCoin> {
     pub fn get_coins(&self) -> Vec<LeadCoin> {
-        return self.coins.clone()
+        self.coins.clone()
     }
     }
 
 
     /// see if the participant stakeholder of this epoch is
     /// see if the participant stakeholder of this epoch is