Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix for fix
  • Loading branch information
bkchr committed Dec 28, 2019
commit 3a65c8bdbe0fc50f6eb42aef55291bfcddbc527a
5 changes: 2 additions & 3 deletions frame/indices/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

#![cfg(test)]

use std::collections::HashSet;
use ref_thread_local::{ref_thread_local, RefThreadLocal};
use std::{cell::RefCell, collections::HashSet};
use sp_runtime::testing::Header;
use sp_runtime::Perbill;
use sp_core::H256;
Expand All @@ -31,7 +30,7 @@ impl_outer_origin!{
}

thread_local! {
static managed ALIVE: RefCell<HashSet<u64>> = Default::default();
static ALIVE: RefCell<HashSet<u64>> = Default::default();
}

pub fn make_account(who: u64) {
Expand Down