Remove unnecessary trait bounds

This commit is contained in:
Paul Hauner 2019-08-23 13:02:17 +10:00
parent a358bbc1b1
commit a8de94ca13
No known key found for this signature in database
GPG Key ID: 5E2CFF9B75FA63DF
2 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ where
impl<L, E> BeaconChainTypes for CommonTypes<L, E>
where
L: LmdGhost<MemoryStore, E> + 'static,
E: EthSpec + 'static,
E: EthSpec,
{
type Store = MemoryStore;
type SlotClock = TestingSlotClock;
@ -70,7 +70,7 @@ where
pub struct BeaconChainHarness<L, E>
where
L: LmdGhost<MemoryStore, E> + 'static,
E: EthSpec + 'static,
E: EthSpec,
{
pub chain: BeaconChain<CommonTypes<L, E>>,
pub keypairs: Vec<Keypair>,

View File

@ -39,7 +39,7 @@ pub struct ClientType<S: Store, E: EthSpec> {
impl<S, E> BeaconChainTypes for ClientType<S, E>
where
S: Store + 'static,
E: EthSpec + 'static + Clone,
E: EthSpec,
{
type Store = S;
type SlotClock = SystemTimeSlotClock;