Browse Source

stake module: make pub properties of SlashImmediateOutcome fixing compiler warning

Mokhtar Naamani 5 years ago
parent
commit
6f6f6559a3
1 changed files with 3 additions and 3 deletions
  1. 3 3
      runtime-modules/stake/src/lib.rs

+ 3 - 3
runtime-modules/stake/src/lib.rs

@@ -707,9 +707,9 @@ where
 }
 
 pub struct SlashImmediateOutcome<Balance, Imbalance> {
-    caused_unstake: bool,
-    slashed_amount: Imbalance,
-    remaining_stake: Balance,
+    pub caused_unstake: bool,
+    pub slashed_amount: Imbalance,
+    pub remaining_stake: Balance,
 }
 
 decl_storage! {