Skip to content

Commit

Permalink
Review comments to code.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshOrndorff committed Mar 19, 2020
1 parent e57c267 commit ac48c26
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pallets/randomness/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Generating randomness with weak entropy
//! Generating (insecure) randomness
#![cfg_attr(not(feature = "std"), no_std)]

use sp_core::H256;
Expand All @@ -10,6 +10,10 @@ use sp_std::vec::Vec;
#[cfg(test)]
mod tests;


/// The pallet's configuration trait.
/// This trait includes two randomness sources. In production you will only ever need one. This pallet
/// includes both merely to demonstrate both.
pub trait Trait: system::Trait {
type Event: From<Event> + Into<<Self as system::Trait>::Event>;

Expand Down

0 comments on commit ac48c26

Please sign in to comment.