Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
akildemir committed Nov 27, 2023
1 parent ddb957b commit ad3af04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions substrate/validator-sets/pallet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ pub mod pallet {

impl<T: Config> Pallet<T> {
fn new_set(network: NetworkId) {
// TODO: prevent new set if it doesn't have enough stake for economic security.

// Update CurrentSession
let session = {
let new_session = CurrentSession::<T>::get(network)
Expand Down

0 comments on commit ad3af04

Please sign in to comment.