From f4df61eb47b0b9fae1278cc73105766b752e1eca Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Mon, 20 Jan 2020 13:24:55 -0500 Subject: [PATCH] Remove commented out extra Arbitrary impl for Locktime --- zebra-chain/src/types.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/zebra-chain/src/types.rs b/zebra-chain/src/types.rs index 36519905..a4c24da4 100644 --- a/zebra-chain/src/types.rs +++ b/zebra-chain/src/types.rs @@ -158,22 +158,6 @@ mod proptests { use super::{BlockHeight, LockTime, Script}; use crate::serialization::{ZcashDeserialize, ZcashSerialize}; - // impl Arbitrary for LockTime { - // type Parameters = (); - - // fn arbitrary_with(_args: ()) -> Self::Strategy { - // prop_oneof![ - // (0u32..500_000_000_u32).prop_map(|n| LockTime::Height(BlockHeight(n))), - // Just(LockTime::Time( - // Utc.timestamp(Utc::now().timestamp() as i64, 0) - // )) - // ] - // .boxed() - // } - - // type Strategy = BoxedStrategy; - // } - proptest! { #[test]