Make BeaconChainTypes Send + Sync + 'static

This commit is contained in:
Paul Hauner
2019-08-22 16:34:21 +10:00
parent 5a34f86e77
commit 853344af8a
8 changed files with 19 additions and 23 deletions

View File

@@ -118,7 +118,7 @@ fn run<T>(
log: &slog::Logger,
) -> error::Result<()>
where
T: BeaconChainTypes + InitialiseBeaconChain<T> + Clone + Send + Sync + 'static,
T: BeaconChainTypes + InitialiseBeaconChain<T> + Clone,
T::Store: OpenDatabase,
{
let store = T::Store::open_database(&db_path)?;