Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
babe: remove unneeded config parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
andresilva committed Jul 22, 2019
1 parent ea42f32 commit a2230d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions srml/babe/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ pub const RANDOMNESS_LENGTH: usize = 32;

decl_storage! {
trait Store for Module<T: Trait> as Babe {
NextRandomness config(next_randomness): [u8; RANDOMNESS_LENGTH];
NextRandomness: [u8; RANDOMNESS_LENGTH];

/// Randomness under construction
UnderConstruction: [u8; VRF_OUTPUT_LENGTH];
Expand All @@ -129,7 +129,7 @@ decl_storage! {
/// (like everything else on-chain) it is public. For example, it can be
/// used where a number is needed that cannot have been chosen by an
/// adversary, for purposes such as public-coin zero-knowledge proofs.
pub Randomness get(random) config(): [u8; RANDOMNESS_LENGTH];
pub Randomness get(random): [u8; RANDOMNESS_LENGTH];

/// Current epoch index
EpochIndex: u64;
Expand Down

0 comments on commit a2230d8

Please sign in to comment.